[evolution-data-server] CamelStoreSummary: Remove unused "store_info_chunks" member.



commit 5281bd1036c11ed88f25b69bf56727247c22bc9b
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Aug 16 08:25:59 2013 -0400

    CamelStoreSummary: Remove unused "store_info_chunks" member.
    
    This reduces the size of CamelStoreSummary and therefore requires a
    libcamel soname bump.

 camel/camel-store-summary.c |    5 -----
 camel/camel-store-summary.h |    4 ----
 configure.ac                |    2 +-
 3 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/camel/camel-store-summary.c b/camel/camel-store-summary.c
index ce4d79e..5fb792e 100644
--- a/camel/camel-store-summary.c
+++ b/camel/camel-store-summary.c
@@ -78,9 +78,6 @@ store_summary_finalize (GObject *object)
 
        g_free (summary->summary_path);
 
-       if (summary->store_info_chunks != NULL)
-               camel_memchunk_destroy (summary->store_info_chunks);
-
        g_rec_mutex_clear (&summary->priv->summary_lock);
        g_rec_mutex_clear (&summary->priv->io_lock);
        g_rec_mutex_clear (&summary->priv->ref_lock);
@@ -334,8 +331,6 @@ camel_store_summary_init (CamelStoreSummary *summary)
        summary->priv = CAMEL_STORE_SUMMARY_GET_PRIVATE (summary);
        summary->store_info_size = sizeof (CamelStoreInfo);
 
-       summary->store_info_chunks = NULL;
-
        summary->version = CAMEL_STORE_SUMMARY_VERSION;
        summary->flags = 0;
        summary->count = 0;
diff --git a/camel/camel-store-summary.h b/camel/camel-store-summary.h
index 2ecc744..febdc48 100644
--- a/camel/camel-store-summary.h
+++ b/camel/camel-store-summary.h
@@ -29,7 +29,6 @@
 #include <stdio.h>
 
 #include <camel/camel-enums.h>
-#include <camel/camel-memchunk.h>
 #include <camel/camel-mime-parser.h>
 #include <camel/camel-object.h>
 
@@ -106,9 +105,6 @@ struct _CamelStoreSummary {
        /* sizes of memory objects */
        guint32 store_info_size;
 
-       /* memory allocators (setup automatically) */
-       CamelMemChunk *store_info_chunks;
-
        gchar *summary_path;
 
        GPtrArray *folders;     /* CamelStoreInfo's */
diff --git a/configure.ac b/configure.ac
index 36d5c17..5c89663 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,7 +130,7 @@ LIBEBOOK_CONTACTS_CURRENT=0
 LIBEBOOK_CONTACTS_REVISION=0
 LIBEBOOK_CONTACTS_AGE=0
 
-LIBCAMEL_CURRENT=44
+LIBCAMEL_CURRENT=45
 LIBCAMEL_REVISION=0
 LIBCAMEL_AGE=0
 


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