Mercurial > pidgin.yaz
changeset 14703:1734f4fd4a00
[gaim-migrate @ 17455]
Don't try to do stuff if the user cancels out of the buddy icon selection
dialog in the account editor. This gets rid of an assertion failure.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 10 Oct 2006 08:19:45 +0000 |
parents | bee0bdd63b1f |
children | c1a308cc63f7 |
files | gtk/gtkaccount.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gtk/gtkaccount.c Tue Oct 10 08:14:57 2006 +0000 +++ b/gtk/gtkaccount.c Tue Oct 10 08:19:45 2006 +0000 @@ -296,7 +296,8 @@ dialog = data; - set_dialog_icon(dialog, gaim_gtk_convert_buddy_icon(dialog->plugin, filename)); + if (filename != NULL) + set_dialog_icon(dialog, gaim_gtk_convert_buddy_icon(dialog->plugin, filename)); dialog->icon_filesel = NULL; }