# HG changeset patch # User Eric Warmenhoven # Date 991265132 0 # Node ID 07ceb54dc96af84091ad776af3be4736cce8c74f # Parent a84a41ecf380a5a3dbd3bff74f00ef09f4c2577a [gaim-migrate @ 1932] this should fix resize woes committer: Tailor Script diff -r a84a41ecf380 -r 07ceb54dc96a src/oscar.c --- a/src/oscar.c Wed May 30 22:19:39 2001 +0000 +++ b/src/oscar.c Wed May 30 23:25:32 2001 +0000 @@ -1806,6 +1806,9 @@ ir->pix = gtk_pixmap_new(pm, bm); gtk_box_pack_start(GTK_BOX(c->bbox), ir->pix, FALSE, FALSE, 5); + if (ir->anim && (gdk_pixbuf_animation_get_num_frames(ir->anim) > 1)) + gtk_widget_set_usize(ir->pix, gdk_pixbuf_animation_get_width(ir->anim), + gdk_pixbuf_animation_get_height(ir->anim)); gtk_widget_show(ir->pix); gdk_pixbuf_loader_close(load); @@ -3197,6 +3200,9 @@ ir->pix = gtk_pixmap_new(pm, bm); gtk_box_pack_start(GTK_BOX(c->bbox), ir->pix, FALSE, FALSE, 5); + if (ir->anim && (gdk_pixbuf_animation_get_num_frames(ir->anim) > 1)) + gtk_widget_set_usize(ir->pix, gdk_pixbuf_animation_get_width(ir->anim), + gdk_pixbuf_animation_get_height(ir->anim)); gtk_widget_show(ir->pix); gdk_pixbuf_loader_close(load);