Mercurial > pidgin.yaz
diff pidgin/pidginstock.c @ 28585:60ab4bdea3c3
Fix minor assert so I can run with G_DEBUG=fatal_criticals.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 06 Sep 2009 01:46:42 +0000 |
parents | 12dbf561b9c7 |
children | 6e9917e067e6 b1284d63b969 |
line wrap: on
line diff
--- a/pidgin/pidginstock.c Sun Sep 06 01:39:10 2009 +0000 +++ b/pidgin/pidginstock.c Sun Sep 06 01:46:42 2009 +0000 @@ -609,7 +609,8 @@ PidginStatusIconTheme *theme = PIDGIN_STATUS_ICON_THEME(purple_theme_loader_build(PURPLE_THEME_LOADER(loader), path)); pidgin_stock_load_status_icon_theme(theme); - g_object_unref(G_OBJECT(theme)); + if (theme) + g_object_unref(G_OBJECT(theme)); } else