[evolution-groupwise] CamelGroupwiseStore: Remove unused 'base_url' member.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-groupwise] CamelGroupwiseStore: Remove unused 'base_url' member.
- Date: Mon, 26 Sep 2011 13:46:42 +0000 (UTC)
commit 1477427d4de6e83975252a13d5d75eee5eb143c8
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Sep 25 22:31:17 2011 -0400
CamelGroupwiseStore: Remove unused 'base_url' member.
src/camel/camel-groupwise-store.c | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/camel/camel-groupwise-store.c b/src/camel/camel-groupwise-store.c
index b50a0a8..412de33 100644
--- a/src/camel/camel-groupwise-store.c
+++ b/src/camel/camel-groupwise-store.c
@@ -61,8 +61,6 @@ struct _CamelGroupwiseStorePrivate {
gchar *server_name;
gchar *user;
- gchar *base_url;
-
GHashTable *id_hash; /*get names from ids */
GHashTable *name_hash;/*get ids from names */
GHashTable *parent_hash;
@@ -352,10 +350,6 @@ groupwise_disconnect_cleanup (CamelService *service,
g_free (priv->use_ssl);
priv->use_ssl = NULL;
}
- if (priv->base_url) {
- g_free (priv->base_url);
- priv->base_url = NULL;
- }
if (groupwise_store->root_container)
g_free (groupwise_store->root_container);
@@ -1388,12 +1382,6 @@ cnc_lookup (CamelGroupwiseStorePrivate *priv)
return priv->cnc;
}
-const gchar *
-groupwise_base_url_lookup (CamelGroupwiseStorePrivate *priv)
-{
- return priv->base_url;
-}
-
static CamelFolder *
groupwise_store_get_trash_folder_sync (CamelStore *store,
GCancellable *cancellable,
@@ -1525,7 +1513,6 @@ groupwise_store_finalize (GObject *object)
g_free (groupwise_store->priv->user);
g_free (groupwise_store->priv->server_name);
- g_free (groupwise_store->priv->base_url);
g_free (groupwise_store->root_container);
if (groupwise_store->priv->id_hash != NULL)
@@ -1587,11 +1574,6 @@ groupwise_store_initable_init (GInitable *initable,
groupwise_store->priv->server_name = g_strdup (url->host);
groupwise_store->priv->user = g_strdup (url->user);
- /*base url*/
- groupwise_store->priv->base_url = camel_url_to_string (
- url, CAMEL_URL_HIDE_PASSWORD |
- CAMEL_URL_HIDE_PARAMS | CAMEL_URL_HIDE_AUTH);
-
/*Hash Table*/
groupwise_store->priv->id_hash =
g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]