diff pidgin/gtkstatusbox.c @ 26630:38a5df43d525

Oops, I must have been tired. I only replaced the first occurrence of these deprecated functions. I think I got them all now.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 18 Apr 2009 22:39:56 +0000
parents a3f7ade9e45b
children b2b0bd2afcb2
line wrap: on
line diff
--- a/pidgin/gtkstatusbox.c	Sat Apr 18 22:13:26 2009 +0000
+++ b/pidgin/gtkstatusbox.c	Sat Apr 18 22:39:56 2009 +0000
@@ -1202,7 +1202,7 @@
 
 	for (i = 0; i < G_N_ELEMENTS(status_box->connecting_pixbufs); i++) {
 		if (status_box->connecting_pixbufs[i] != NULL)
-			gdk_pixbuf_unref(status_box->connecting_pixbufs[i]);
+			g_object_unref(G_OBJECT(status_box->connecting_pixbufs[i]));
 	}
 
 	status_box->connecting_index = 0;
@@ -1225,7 +1225,7 @@
 
 	for (i = 0; i < G_N_ELEMENTS(status_box->typing_pixbufs); i++) {
 		if (status_box->typing_pixbufs[i] != NULL)
-			gdk_pixbuf_unref(status_box->typing_pixbufs[i]);
+			g_object_unref(G_OBJECT(status_box->typing_pixbufs[i]));
 	}
 
 	status_box->typing_index = 0;