[evolution-data-server] CamelIMAPXStore: Remove unused 'base_url' member.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] CamelIMAPXStore: Remove unused 'base_url' member.
- Date: Mon, 26 Sep 2011 13:45:24 +0000 (UTC)
commit 2bb336dc81da7d0f9f2e128e2175b394a01b956e
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Sep 25 21:03:06 2011 -0400
CamelIMAPXStore: Remove unused 'base_url' member.
camel/providers/imapx/camel-imapx-store.c | 9 +--------
camel/providers/imapx/camel-imapx-store.h | 2 +-
2 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-store.c b/camel/providers/imapx/camel-imapx-store.c
index a9293b3..3f749c3 100644
--- a/camel/providers/imapx/camel-imapx-store.c
+++ b/camel/providers/imapx/camel-imapx-store.c
@@ -125,8 +125,6 @@ imapx_store_finalize (GObject *object)
g_mutex_free (imapx_store->get_finfo_lock);
- g_free (imapx_store->base_url);
-
/* Chain up to parent's finalize() method. */
G_OBJECT_CLASS (camel_imapx_store_parent_class)->finalize (object);
}
@@ -1545,7 +1543,6 @@ imapx_store_initable_init (GInitable *initable,
CamelIMAPXStore *imapx_store;
CamelStore *store;
CamelService *service;
- CamelURL *url;
const gchar *user_cache_dir;
gchar *summary;
@@ -1560,13 +1557,9 @@ imapx_store_initable_init (GInitable *initable,
if (!parent_initable_interface->init (initable, cancellable, error))
return FALSE;
- url = camel_service_get_camel_url (service);
+ service = CAMEL_SERVICE (initable);
user_cache_dir = camel_service_get_user_cache_dir (service);
- imapx_store->base_url = camel_url_to_string (
- url, CAMEL_URL_HIDE_PASSWORD |
- CAMEL_URL_HIDE_PARAMS | CAMEL_URL_HIDE_AUTH);
-
imapx_store->summary = camel_imapx_store_summary_new ();
summary = g_build_filename (user_cache_dir, ".ev-store-summary", NULL);
diff --git a/camel/providers/imapx/camel-imapx-store.h b/camel/providers/imapx/camel-imapx-store.h
index 4aa065a..0baee0d 100644
--- a/camel/providers/imapx/camel-imapx-store.h
+++ b/camel/providers/imapx/camel-imapx-store.h
@@ -62,7 +62,7 @@ struct _CamelIMAPXStore {
CamelIMAPXConnManager *con_man;
CamelIMAPXStoreSummary *summary; /* in-memory list of folders */
- gchar dir_sep, *base_url;
+ gchar dir_sep;
guint32 rec_options;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]