# HG changeset patch # User Daniel Atallah # Date 1256441403 0 # Node ID 0849e1c20486637de62bda8ccf5890d8856b5a9c # Parent f0d103b366df35ed4783908981b1119736f86869 Prevent an assertion when the status icon pixbuf isn't found. diff -r f0d103b366df -r 0849e1c20486 pidgin/gtkprefs.c --- a/pidgin/gtkprefs.c Sat Oct 24 17:46:30 2009 +0000 +++ b/pidgin/gtkprefs.c Sun Oct 25 03:30:03 2009 +0000 @@ -624,7 +624,8 @@ _("The default Pidgin status icon theme")); gtk_list_store_set(prefs_status_icon_themes, &iter, 0, pixbuf, 1, tmp, 2, "", -1); g_free(tmp); - g_object_unref(G_OBJECT(pixbuf)); + if (pixbuf) + g_object_unref(G_OBJECT(pixbuf)); purple_theme_manager_for_each_theme(prefs_themes_sort); pref_sound_generate_markup();