diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-28 06:41:01 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-28 06:41:01 +0800 |
commit | de1dd89f6c53f81b3dd68861d1ff50edf2dc5674 (patch) | |
tree | e2f5fc65eb350247166a7728415467aba7aaee8f /mail/mail-account-gui.c | |
parent | f449bc01e8ca350bd6ed545fa7516ce277099c26 (diff) | |
download | gsoc2013-evolution-de1dd89f6c53f81b3dd68861d1ff50edf2dc5674.tar.gz gsoc2013-evolution-de1dd89f6c53f81b3dd68861d1ff50edf2dc5674.tar.zst gsoc2013-evolution-de1dd89f6c53f81b3dd68861d1ff50edf2dc5674.zip |
Lets do some NULL checking here. First, make sure the gsrc isn't NULL and
2001-03-27 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-editor.c (switch_page): Lets do some NULL checking
here. First, make sure the gsrc isn't NULL and also make sure that
account->source isn't NULL either.
* mail-account-gui.c (mail_account_gui_setup): If there isn't a
source_proto, make sure we select "None" as the source type.
svn path=/trunk/; revision=8984
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r-- | mail/mail-account-gui.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index 7ada3d75f3..198db8c11d 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -128,8 +128,6 @@ mail_account_gui_management_complete (MailAccountGui *gui) } - - static void service_authtype_changed (GtkWidget *widget, gpointer user_data) { @@ -901,7 +899,7 @@ mail_account_gui_setup (MailAccountGui *gui, GtkWidget *top) gtk_widget_show (item); - if (!fstore) { + if (!fstore || !source_proto) { fstore = item; hstore = si; } |