# HG changeset patch # User Elliott Sales de Andrade # Date 1252201602 0 # Node ID 60ab4bdea3c394f86443bcdb5dfde25c95497e18 # Parent 3b39438509c75a82a0da4e028a7aa0da08c715c9 Fix minor assert so I can run with G_DEBUG=fatal_criticals. diff -r 3b39438509c7 -r 60ab4bdea3c3 pidgin/pidginstock.c --- 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