changeset 1931:e86f357ec23d

[gaim-migrate @ 1941] someone tell me if this doesn't work right committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 01 Jun 2001 02:54:39 +0000
parents 21f24c30ba1c
children be30d74bd3a8
files src/oscar.c
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 : <B>%s</B>\n",
+		asc = g_strdup_printf("Member Since : <B>%s</B><BR>\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