pidgin: 851f8107: Don't assert if logo is missing. This sh...

qulogic at pidgin.im qulogic at pidgin.im
Mon Jul 26 01:59:23 EDT 2010


----------------------------------------------------------------------
Revision: 851f8107a6f69c4cc8595dafa8763a3be3fb3fa7
Parent:   e64578dc53c96709f20cb9416d507a4d448a4ee3
Author:   qulogic at pidgin.im
Date:     07/25/10 18:22:29
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/851f8107a6f69c4cc8595dafa8763a3be3fb3fa7

Changelog: 

Don't assert if logo is missing. This shouldn't really affect people
normally.

Changes against parent e64578dc53c96709f20cb9416d507a4d448a4ee3

  patched  pidgin/gtkdialogs.c

-------------- next part --------------
============================================================
--- pidgin/gtkdialogs.c	9837714f971df8be45b1b1f08436d7107dbc2a5c
+++ pidgin/gtkdialogs.c	77d36f3fa8d24698893926322fd9824ea77b49cf
@@ -430,7 +430,8 @@ pidgin_build_help_dialog(const char *tit
 
 	/* Insert the logo */
 	logo = gtk_image_new_from_pixbuf(pixbuf);
-	g_object_unref(G_OBJECT(pixbuf));
+	if (pixbuf)
+		g_object_unref(G_OBJECT(pixbuf));
 	obj = gtk_widget_get_accessible(logo);
 	tmp = g_strconcat(PIDGIN_NAME, " " DISPLAY_VERSION, NULL);
 	atk_object_set_description(obj, tmp);


More information about the Commits mailing list