# HG changeset patch # User Eric Warmenhoven # Date 991364079 0 # Node ID e86f357ec23dcd52340ca43c1bd475169d652843 # Parent 21f24c30ba1c85497fdedd2f6f02e1d58e09b10b [gaim-migrate @ 1941] someone tell me if this doesn't work right committer: Tailor Script diff -r 21f24c30ba1c -r e86f357ec23d src/oscar.c --- a/src/oscar.c Thu May 31 23:02:03 2001 +0000 +++ b/src/oscar.c Fri Jun 01 02:54:39 2001 +0000 @@ -1625,6 +1625,7 @@ gdk_pixbuf_frame_get_x_offset(frame), gdk_pixbuf_frame_get_y_offset(frame), -1, -1); + gdk_pixmap_unref(src); gtk_pixmap_set(GTK_PIXMAP(ir->pix), pm, bm); gtk_widget_queue_draw(ir->pix); gdk_gc_unref(gc); @@ -1641,6 +1642,8 @@ gtk_pixmap_set(GTK_PIXMAP(ir->pix), pm, bm); break; } + gdk_pixmap_unref(pm); + gdk_bitmap_unref(bm); ir->curframe = (ir->curframe + 1) % g_list_length(frames); delay = gdk_pixbuf_frame_get_delay_time(frame); ir->timer = gtk_timeout_add(delay * 10, redraw_anim, ir); @@ -1810,6 +1813,8 @@ 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_pixmap_unref(pm); + gdk_bitmap_unref(bm); gdk_pixbuf_loader_close(load); @@ -1946,7 +1951,7 @@ va_end(ap); if (info->membersince) - asc = g_strdup_printf("Member Since : %s\n", + asc = g_strdup_printf("Member Since : %s
\n", asctime(localtime(&info->membersince))); else asc = g_strdup(""); @@ -3204,6 +3209,8 @@ 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_pixmap_unref(pm); + gdk_bitmap_unref(bm); gdk_pixbuf_loader_close(load); #endif