aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-07-04 21:55:30 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-07-04 22:20:54 +0800
commit99d492b8284fa467f2b8ad3e6b637e10258d1cc2 (patch)
treeeeabd62681bd3cbf0e903c509dbafeec75f804d1 /mail/em-account-editor.c
parent56e3e6818693118b1a33c682ff71ec7d561c46d1 (diff)
downloadgsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar
gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.gz
gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.bz2
gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.lz
gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.xz
gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.zst
gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.zip
Adapt to CamelSession and e-passwords changes.
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index c6bef76187..867a8378dc 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -3838,19 +3838,14 @@ forget_password_if_needed (EAccount *original_account, EAccount *modified_accoun
(orig_url && !modif_url)) {
CamelURL *url;
gchar *url_str;
- const gchar *auth_domain;
url = camel_url_new (orig_url, NULL);
if (!url)
return;
- auth_domain = camel_url_get_param (url, "auth-domain");
- if (!auth_domain)
- auth_domain = "Mail";
-
url_str = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS);
if (url_str)
- e_passwords_forget_password (auth_domain, url_str);
+ e_passwords_forget_password (NULL, url_str);
g_free (url_str);
camel_url_free (url);