Mercurial > pidgin.yaz
diff src/gtkrequest.c @ 10225:ecf3ce2e2ab1
[gaim-migrate @ 11357]
This is mostly a patch from Felipe Contreras that eliminates MSN switchboard
errors and fixes MSN buddy icon syncronization, with some tweaks by me.
Thank Felipe if it works, blame me if something broke.
I also fixed a couple of text markup escaping things, fixed a glib warning that
was bugging me, fix a rare SILC crash, and make gtkstatusselector.c compile
(but do nothing) with gtk < 2.4
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sun, 21 Nov 2004 17:48:09 +0000 |
parents | 5b33637b69fd |
children | 9aa0b6d11bbf |
line wrap: on
line diff
--- a/src/gtkrequest.c Sun Nov 21 06:16:23 2004 +0000 +++ b/src/gtkrequest.c Sun Nov 21 17:48:09 2004 +0000 @@ -1433,7 +1433,8 @@ filesel = gtk_file_selection_new(title ? title : (savedialog ? _("Save File...") : _("Open File..."))); - gtk_file_selection_set_filename(GTK_FILE_SELECTION(filesel), filename); + if (filename != NULL) + gtk_file_selection_set_filename(GTK_FILE_SELECTION(filesel), filename); g_signal_connect_swapped(G_OBJECT(GTK_FILE_SELECTION(filesel)), "delete_event", G_CALLBACK(file_cancel_cb), data); g_signal_connect_swapped(G_OBJECT(GTK_FILE_SELECTION(filesel)->cancel_button),