CamelStoreSummary: Remove unused "store_info_chunks" member.
authorMatthew Barnes <mbarnes@redhat.com>
Fri, 16 Aug 2013 12:25:59 +0000 (08:25 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Fri, 16 Aug 2013 18:07:20 +0000 (14:07 -0400)
This reduces the size of CamelStoreSummary and therefore requires a
libcamel soname bump.

camel/camel-store-summary.c
camel/camel-store-summary.h
configure.ac

index ce4d79e..5fb792e 100644 (file)
@@ -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;
index 2ecc744..febdc48 100644 (file)
@@ -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 */
index 36d5c17..5c89663 100644 (file)
@@ -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