diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-12-20 06:26:23 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-12-20 06:26:23 +0800 |
commit | 28d014efff13377bb743a69ba164f6476de71a8c (patch) | |
tree | 13efefd41fd4ab3b428adc3fbd3360ccdde336cd /mail/mail-account-gui.c | |
parent | 2ca680bafa91b1336dfb45268bbfa0665a73369c (diff) | |
download | gsoc2013-evolution-28d014efff13377bb743a69ba164f6476de71a8c.tar.gz gsoc2013-evolution-28d014efff13377bb743a69ba164f6476de71a8c.tar.zst gsoc2013-evolution-28d014efff13377bb743a69ba164f6476de71a8c.zip |
If the provider is NULL, don't do anything.
2001-12-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (setup_service): If the provider is NULL,
don't do anything.
* mail-accounts.c (construct): Oops, no wonder the exec command
thing never stuck around... I wasn't getting the right widget from
libglade. Also connect to the GtkEntry's changed event since a
GnomeFileEntry doesn't have that signal in its ancestry.
svn path=/trunk/; revision=15188
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r-- | mail/mail-account-gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index 4f42b960a1..856d72984f 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -857,7 +857,7 @@ setup_service (MailAccountGuiService *gsvc, MailConfigService *service) CamelURL *url = camel_url_new (service->url, NULL); gboolean has_auth = FALSE; - if (url == NULL) + if (url == NULL || gsvc->provider == NULL) return FALSE; if (url->user && CAMEL_PROVIDER_ALLOWS (gsvc->provider, CAMEL_URL_PART_USER)) |