From: <the...@us...> - 2006-10-10 08:19:47
|
Revision: 17455 http://svn.sourceforge.net/gaim/?rev=17455&view=rev Author: thekingant Date: 2006-10-10 01:19:45 -0700 (Tue, 10 Oct 2006) Log Message: ----------- 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. Modified Paths: -------------- trunk/gtk/gtkaccount.c Modified: trunk/gtk/gtkaccount.c =================================================================== --- trunk/gtk/gtkaccount.c 2006-10-10 08:14:57 UTC (rev 17454) +++ trunk/gtk/gtkaccount.c 2006-10-10 08:19:45 UTC (rev 17455) @@ -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; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |