[evolution-exchange] Adapt to CamelURL API changes.



commit e772e9c3fba23735f711f963411c788423b1ddfc
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Sep 25 22:29:50 2011 -0400

    Adapt to CamelURL API changes.

 eplugin/exchange-account-setup.c       |    3 +--
 eplugin/exchange-config-listener.c     |    2 +-
 tools/exchange-share-config-listener.c |    2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/eplugin/exchange-account-setup.c b/eplugin/exchange-account-setup.c
index 91554c7..bc1e751 100644
--- a/eplugin/exchange-account-setup.c
+++ b/eplugin/exchange-account-setup.c
@@ -495,8 +495,7 @@ owa_authenticate_user (GtkWidget *button,
 		exchange_params->is_ntlm = FALSE;
 	camel_url_set_authmech (url, exchange_params->is_ntlm ? "NTLM" : "Basic");
 
-	key = camel_url_to_string (
-		url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS);
+	key = camel_url_to_string (url, CAMEL_URL_HIDE_PARAMS);
 	/* Supress the trailing slash */
 	key[strlen (key) -1] = 0;
 
diff --git a/eplugin/exchange-config-listener.c b/eplugin/exchange-config-listener.c
index fdf86c9..a7ce013 100644
--- a/eplugin/exchange-config-listener.c
+++ b/eplugin/exchange-config-listener.c
@@ -823,7 +823,7 @@ exchange_config_listener_authenticate (ExchangeConfigListener *ex_conf_listener,
 	priv = ex_conf_listener->priv;
 
 	camel_url = camel_url_new (priv->configured_uri, NULL);
-	key = camel_url_to_string (camel_url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS);
+	key = camel_url_to_string (camel_url, CAMEL_URL_HIDE_PARAMS);
 	password = e_passwords_get_password (NULL, key);
 	if (!password) {
 		oldremember = remember = exchange_account_is_save_password (account);
diff --git a/tools/exchange-share-config-listener.c b/tools/exchange-share-config-listener.c
index edbb034..9422bc8 100644
--- a/tools/exchange-share-config-listener.c
+++ b/tools/exchange-share-config-listener.c
@@ -291,7 +291,7 @@ migrate_account_esource (EAccount *account,
 		return;
 	user_name = camel_url->user;
 	authtype  = camel_url->authmech;
-	url_string = camel_url_to_string (camel_url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS);
+	url_string = camel_url_to_string (camel_url, CAMEL_URL_HIDE_PARAMS);
 
 	if (!user_name) {
 		g_free (url_string);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]