Mercurial > pidgin.yaz
diff pidgin/gtkprefs.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 | a820c03b9d4e |
children | 38a5df43d525 |
line wrap: on
line diff
--- a/pidgin/gtkprefs.c Sat Apr 18 07:00:20 2009 +0000 +++ b/pidgin/gtkprefs.c Sat Apr 18 07:31:32 2009 +0000 @@ -638,7 +638,7 @@ gtk_list_store_set(prefs_sound_themes, &iter, 0, pixbuf, 2, purple_theme_get_name(theme), -1); if (pixbuf != NULL) - gdk_pixbuf_unref(pixbuf); + g_object_unref(G_OBJECT(pixbuf)); } else if (PIDGIN_IS_BLIST_THEME(theme) || PIDGIN_IS_STATUS_ICON_THEME(theme)){ GtkListStore *store; @@ -665,7 +665,7 @@ g_free(markup); if (pixbuf != NULL) - gdk_pixbuf_unref(pixbuf); + g_object_unref(G_OBJECT(pixbuf)); } }