pidgin: 7f46c60f: Prevent an assertion when the status ico...
datallah at pidgin.im
datallah at pidgin.im
Sat Oct 24 23:35:39 EDT 2009
-----------------------------------------------------------------
Revision: 7f46c60f257eb0d52072faed35668f1630e76cdd
Ancestor: 43a9f0696967997615d88bfb9022e007dd973321
Author: datallah at pidgin.im
Date: 2009-10-25T03:30:03
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/7f46c60f257eb0d52072faed35668f1630e76cdd
Modified files:
pidgin/gtkprefs.c
ChangeLog:
Prevent an assertion when the status icon pixbuf isn't found.
-------------- next part --------------
============================================================
--- pidgin/gtkprefs.c ae397b6a124fce0bc0d9bc1165feb5b8e1dc6d98
+++ pidgin/gtkprefs.c 079e7fc4910ae22f57c9642152626a785b90f349
@@ -624,7 +624,8 @@ prefs_themes_refresh(void)
_("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();
More information about the Commits
mailing list