aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.c
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-01-26 02:28:02 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-01-26 02:28:02 +0800
commitbb2f8ae373b1ab3fbf2e907d894c4c21c6f2975c (patch)
tree37b0aec15e9966fc46b9fbc8167796c63b3bf6b5 /camel/camel-folder-summary.c
parent63eccb1c488fd5dca8d6717adaae08e8866baa24 (diff)
downloadgsoc2013-evolution-bb2f8ae373b1ab3fbf2e907d894c4c21c6f2975c.tar
gsoc2013-evolution-bb2f8ae373b1ab3fbf2e907d894c4c21c6f2975c.tar.gz
gsoc2013-evolution-bb2f8ae373b1ab3fbf2e907d894c4c21c6f2975c.tar.bz2
gsoc2013-evolution-bb2f8ae373b1ab3fbf2e907d894c4c21c6f2975c.tar.lz
gsoc2013-evolution-bb2f8ae373b1ab3fbf2e907d894c4c21c6f2975c.tar.xz
gsoc2013-evolution-bb2f8ae373b1ab3fbf2e907d894c4c21c6f2975c.tar.zst
gsoc2013-evolution-bb2f8ae373b1ab3fbf2e907d894c4c21c6f2975c.zip
renamed mbox_folder->summary to mbox_folder->internal_summary to avoid
2000-01-26 bertrand <bertrand@helixcode.com> * camel/providers/mbox/camel-mbox-folder.c: renamed mbox_folder->summary to mbox_folder->internal_summary to avoid confusion with the camel_folder->summary field. (_append_message): (_check_get_or_maybe_generate_summary_file): update the external summary thingie. * camel/camel-folder-summary.c (camel_folder_summary_new): create the message and folder info arrays. * camel/providers/mbox/camel-mbox-summary.c (camel_mbox_summary_append_internal_to_external): new function to append entries from the internal summary to the external one. * camel/providers/mbox/camel-mbox-folder.c (_append_message): reflect name change. * camel/providers/mbox/camel-mbox-summary.c (camel_mbox_summary_append_entries): namespace fix. svn path=/trunk/; revision=1632
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r--camel/camel-folder-summary.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index fdeec5e13c..e1d4543ace 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -113,7 +113,14 @@ _finalize (GtkObject *object)
CamelFolderSummary *
camel_folder_summary_new ()
{
- return gtk_type_new (CAMEL_FOLDER_SUMMARY_TYPE);
+ CamelFolderSummary *folder_summary;
+
+ folder_summary = gtk_type_new (CAMEL_FOLDER_SUMMARY_TYPE);
+ folder_summary->message_info_list = g_array_new (FALSE, FALSE, sizeof (CamelMessageInfo));
+ folder_summary->subfolder_info_list = g_array_new (FALSE, FALSE, sizeof (CamelFolderInfo));
+
+ return folder_summary;
+
}
static const GArray *
@@ -145,3 +152,11 @@ camel_folder_summary_get_message_info_list (CamelFolderSummary *summary)
}
+
+
+
+
+
+
+
+