diff pidgin/gtkutils.c @ 26705:a3f7ade9e45b

Use g_object_ref/unref instead of the deprecated versions.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 18 Apr 2009 07:31:32 +0000
parents b162300ab1e7
children 4aa5400b1b99
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Sat Apr 18 07:00:20 2009 +0000
+++ b/pidgin/gtkutils.c	Sat Apr 18 07:31:32 2009 +0000
@@ -1627,7 +1627,7 @@
 						    _("Set as buddy icon"), DND_BUDDY_ICON,
 						    (ft ? _("Send image file") : _("Insert in message")), (ft ? DND_FILE_TRANSFER : DND_IM_IMAGE),
 							NULL);
-			gdk_pixbuf_unref(pb);
+			g_object_unref(G_OBJECT(pb));
 			return;
 		}