comparison src/conversation.c @ 2999:82b1553d53d0

[gaim-migrate @ 3012] You really need to watch stuff like this. People get upset when their X server grows to 235MB for no apparent reason. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 03 Mar 2002 23:53:28 +0000
parents 60018f862a51
children 87fff45fa36b
comparison
equal deleted inserted replaced
2998:6fe330f1b951 2999:82b1553d53d0
3025 gdk_draw_pixmap(pm, gc, src, 0, 0, gdk_pixbuf_frame_get_x_offset(frame)* 3025 gdk_draw_pixmap(pm, gc, src, 0, 0, gdk_pixbuf_frame_get_x_offset(frame)*
3026 SCALE(c->anim)/gdk_pixbuf_get_width(scale), 3026 SCALE(c->anim)/gdk_pixbuf_get_width(scale),
3027 gdk_pixbuf_frame_get_y_offset(frame),-1,-1); 3027 gdk_pixbuf_frame_get_y_offset(frame),-1,-1);
3028 3028
3029 gdk_pixmap_unref(src); 3029 gdk_pixmap_unref(src);
3030 if (bm)
3031 gdk_bitmap_unref(bm);
3030 gtk_widget_queue_draw(c->icon); 3032 gtk_widget_queue_draw(c->icon);
3031 gdk_gc_unref(gc); 3033 gdk_gc_unref(gc);
3032 break; 3034 break;
3033 case GDK_PIXBUF_FRAME_DISPOSE: 3035 case GDK_PIXBUF_FRAME_DISPOSE:
3034 buf = gdk_pixbuf_frame_get_pixbuf(frame); 3036 buf = gdk_pixbuf_frame_get_pixbuf(frame);