[evolution-kolab/ek-wip-porting] CamelKolabIMAPXStore: removed private CamelKolabImapxMetadata member



commit 3cd7bf0348b06e4600152b4230a533d8317e64a3
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Thu Mar 8 19:57:27 2012 +0100

    CamelKolabIMAPXStore: removed private CamelKolabImapxMetadata member
    
    * this data will be kept inside CamelKolabIMAPXServer,
      which is analogous to the CamelIMAPXExtdServer
      holding the raw annotation data
    * CamelKolabIMAPXStore will deal with folder type IDs
      only, which can be read from and written to
      CamelKolabIMAPXServer

 src/camel/camel-kolab-imapx-store.c |    7 -------
 src/camel/camel-kolab-imapx-store.h |    1 -
 2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/camel/camel-kolab-imapx-store.c b/src/camel/camel-kolab-imapx-store.c
index 4a62056..0cc81a7 100644
--- a/src/camel/camel-kolab-imapx-store.c
+++ b/src/camel/camel-kolab-imapx-store.c
@@ -35,7 +35,6 @@
 
 #include <camel/providers/imapx/camel-imapx-store-summary.h>
 #include <camel/providers/imapx/camel-imapx-extd-server.h>
-#include <camel/providers/imapx/camel-imapx-metadata.h>
 #include <camel/providers/imapx/camel-imapx-utils.h>
 
 #include <libekolabutil/kolab-util-error.h>
@@ -69,7 +68,6 @@ struct _CamelKolabIMAPXStorePrivate {
 	 */
 	GMutex *kolab_finfo_lock;
 
-	CamelKolabImapxMetadata *kmd;
 	KolabFolderTypeID folder_create_type;
 	KolabFolderContextID folder_context;
 	gboolean folder_types_do_care[KOLAB_FOLDER_LAST_TYPE];
@@ -119,9 +117,6 @@ camel_kolab_imapx_store_init (CamelKolabIMAPXStore *self)
 	/* folder info lock */
 	priv->kolab_finfo_lock = g_mutex_new ();
 
-	/* metadata db and lookup table */
-	priv->kmd = camel_kolab_imapx_metadata_new ();
-
 	/* default folder type to create (for use in Evo) */
 	priv->folder_create_type = KOLAB_FOLDER_TYPE_EMAIL;
 
@@ -188,8 +183,6 @@ camel_kolab_imapx_store_finalize (GObject *object)
 	g_mutex_unlock (priv->kolab_finfo_lock);
 	g_mutex_free (priv->kolab_finfo_lock);
 
-	camel_kolab_imapx_metadata_free (priv->kmd);
-
 	if (priv->folder_names_do_care != NULL) {
 		GList *list_ptr = priv->folder_names_do_care;
 		while (list_ptr != NULL) {
diff --git a/src/camel/camel-kolab-imapx-store.h b/src/camel/camel-kolab-imapx-store.h
index db7fde6..e2d2ed2 100644
--- a/src/camel/camel-kolab-imapx-store.h
+++ b/src/camel/camel-kolab-imapx-store.h
@@ -39,7 +39,6 @@
 
 #include <camel/providers/imapx/camel-imapx-extd-store.h>
 
-#include "camel-kolab-imapx-metadata.h"
 #include "camel-kolab-imapx-folder.h"
 #include "camel-kolab-imapx-server.h"
 



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