[evolution-mapi] CamelMapiStore: Remove unused 'base_url' member.



commit b79a09c113fb0eaf531ea91530b4191712c90521
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Sep 25 22:39:35 2011 -0400

    CamelMapiStore: Remove unused 'base_url' member.

 src/camel/camel-mapi-store.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/camel/camel-mapi-store.c b/src/camel/camel-mapi-store.c
index 3f9a238..9e4745c 100644
--- a/src/camel/camel-mapi-store.c
+++ b/src/camel/camel-mapi-store.c
@@ -55,8 +55,6 @@
 struct _CamelMapiStorePrivate {
 	ExchangeMapiConnection *conn;
 
-	gchar *base_url;
-
 	GHashTable *id_hash; /*get names from ids*/
 	GHashTable *name_hash;/*get ids from names*/
 	GHashTable *container_hash;
@@ -861,8 +859,6 @@ mapi_store_finalize (GObject *object)
 
 	priv = CAMEL_MAPI_STORE (object)->priv;
 
-	g_free (priv->base_url);
-
 	if (priv->id_hash != NULL)
 		g_hash_table_destroy (priv->id_hash);
 
@@ -1652,13 +1648,6 @@ mapi_store_constructed (GObject *object)
 	camel_store_summary_touch ((CamelStoreSummary *)mapi_store->summary);
 	camel_store_summary_load ((CamelStoreSummary *) mapi_store->summary);
 
-	/*base url*/
-	priv->base_url = camel_url_to_string (
-		camel_service_get_camel_url (service),
-		CAMEL_URL_HIDE_PASSWORD |
-		CAMEL_URL_HIDE_PARAMS |
-		CAMEL_URL_HIDE_AUTH);
-
 	/*Hash Table*/
 	priv->id_hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); /* folder ID to folder Full name */
 	priv->name_hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); /* folder Full name to folder ID */



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