diff options
Diffstat (limited to 'pidgin/gtkprefs.c')
-rw-r--r-- | pidgin/gtkprefs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pidgin/gtkprefs.c b/pidgin/gtkprefs.c index d07bd7f374..92316b14fa 100644 --- a/pidgin/gtkprefs.c +++ b/pidgin/gtkprefs.c @@ -638,7 +638,7 @@ prefs_themes_sort(PurpleTheme *theme) 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 @@ prefs_themes_sort(PurpleTheme *theme) g_free(markup); if (pixbuf != NULL) - gdk_pixbuf_unref(pixbuf); + g_object_unref(G_OBJECT(pixbuf)); } } @@ -702,7 +702,7 @@ prefs_themes_init() gtk_list_store_set(prefs_status_icon_themes, &iter, 0, pixbuf, 1, "<b>(Default)</b> - None\n<span color='dim grey'>" "The default Pidgin status icon theme</span>", 2, "", -1); - gdk_pixbuf_unref(pixbuf); + g_object_unref(G_OBJECT(pixbuf)); } /* builds a theme combo box from a list store with colums: icon preview, markup, theme name */ |