aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-05-09 06:53:41 +0800
committerIain Holmes <iain@src.gnome.org>2001-05-09 06:53:41 +0800
commitc64eccfe004f5c30932fe571bb506626bb0c186d (patch)
tree2260477f72c474e00ae9f2b0afa7f5242e60c5a5 /mail/mail-account-gui.c
parent9bcfef421b420061f7342e5517d226aa9f58dbdd (diff)
downloadgsoc2013-evolution-c64eccfe004f5c30932fe571bb506626bb0c186d.tar
gsoc2013-evolution-c64eccfe004f5c30932fe571bb506626bb0c186d.tar.gz
gsoc2013-evolution-c64eccfe004f5c30932fe571bb506626bb0c186d.tar.bz2
gsoc2013-evolution-c64eccfe004f5c30932fe571bb506626bb0c186d.tar.lz
gsoc2013-evolution-c64eccfe004f5c30932fe571bb506626bb0c186d.tar.xz
gsoc2013-evolution-c64eccfe004f5c30932fe571bb506626bb0c186d.tar.zst
gsoc2013-evolution-c64eccfe004f5c30932fe571bb506626bb0c186d.zip
Importer changes
svn path=/trunk/; revision=9722
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index 434634c5c6..971d83773c 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -702,6 +702,9 @@ setup_service (MailAccountGuiService *gsvc, MailConfigService *service)
CamelURL *url = camel_url_new (service->url, NULL);
gboolean has_auth = FALSE;
+ if (url == NULL)
+ return;
+
if (url->user && CAMEL_PROVIDER_ALLOWS (gsvc->provider, CAMEL_URL_PART_USER))
gtk_entry_set_text (gsvc->username, url->user);
if (url->host && CAMEL_PROVIDER_ALLOWS (gsvc->provider, CAMEL_URL_PART_HOST)) {