Mercurial > pidgin.yaz
changeset 30723:9e42b9ea8fd3
Don't assert if logo is missing. This shouldn't really affect people
normally.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 25 Jul 2010 22:22:29 +0000 |
parents | 8e2da15b17cd |
children | bb7e8e98bdb1 |
files | pidgin/gtkdialogs.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);