# HG changeset patch # User Elliott Sales de Andrade # Date 1280096549 0 # Node ID 9e42b9ea8fd3959f875fcc5904209c4523654387 # Parent 8e2da15b17cd996eaaa64e50adc6bf19c1ea463c Don't assert if logo is missing. This shouldn't really affect people normally. diff -r 8e2da15b17cd -r 9e42b9ea8fd3 pidgin/gtkdialogs.c --- a/pidgin/gtkdialogs.c Fri Jul 23 18:18:04 2010 +0000 +++ b/pidgin/gtkdialogs.c Sun Jul 25 22:22:29 2010 +0000 @@ -430,7 +430,8 @@ /* 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);