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
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:34 +0800
commit6c54eecdf8d900f3297176d43485c512c353493f (patch)
tree74123007ed5fdc4cf97ba6eed0309961bcb90038 /mail/em-account-editor.c
parent16f35f7d67c51da14c9a9b643758407d2e965825 (diff)
downloadgsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.gz
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.bz2
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.lz
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.xz
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.tar.zst
gsoc2013-evolution-6c54eecdf8d900f3297176d43485c512c353493f.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);