[evolution-mapi] Adapt to CamelURL API changes.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Adapt to CamelURL API changes.
- Date: Mon, 26 Sep 2011 13:46:52 +0000 (UTC)
commit 7fa2f1dd6883a33b2229dd47d6791e4ddad988d1
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Sep 25 22:40:23 2011 -0400
Adapt to CamelURL API changes.
.../exchange-mapi-account-listener.c | 4 ++--
.../exchange-mapi-account-setup.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/account-setup-eplugin/exchange-mapi-account-listener.c b/src/account-setup-eplugin/exchange-mapi-account-listener.c
index c3a3b10..f6a4743 100644
--- a/src/account-setup-eplugin/exchange-mapi-account-listener.c
+++ b/src/account-setup-eplugin/exchange-mapi-account-listener.c
@@ -1148,7 +1148,7 @@ mapi_account_removed (EAccountList *account_listener, EAccount *account)
url = camel_url_new (info->source_url, NULL);
if (url != NULL) {
const gchar *profile = camel_url_get_param (url, "profile");
- gchar *key = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS);
+ gchar *key = camel_url_to_string (url, CAMEL_URL_HIDE_PARAMS);
GError *error = NULL;
exchange_mapi_delete_profile (profile, &error);
@@ -1183,7 +1183,7 @@ create_profile_entry (CamelURL *url, EAccount *account, CamelMapiSettings *setti
while (!status && attempts <= 3) {
gchar *key = NULL;
- key = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS);
+ key = camel_url_to_string (url, CAMEL_URL_HIDE_PARAMS);
if (!attempts && !empd.krb_sso)
empd.password = e_passwords_get_password (NULL, key);
if (!empd.password && !empd.krb_sso) {
diff --git a/src/account-setup-eplugin/exchange-mapi-account-setup.c b/src/account-setup-eplugin/exchange-mapi-account-setup.c
index 6ec12f7..d052878 100644
--- a/src/account-setup-eplugin/exchange-mapi-account-setup.c
+++ b/src/account-setup-eplugin/exchange-mapi-account-setup.c
@@ -307,7 +307,7 @@ validate_credentials (GtkWidget *widget, EConfig *config)
return;
}
- key = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS);
+ key = camel_url_to_string (url, CAMEL_URL_HIDE_PARAMS);
if (empd.krb_sso) {
exchange_mapi_util_trigger_krb_auth (&empd, &error);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]