aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-09-05 03:33:31 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-05 03:33:31 +0800
commit0fe7101224105602a18e63eb83af4611648c9d91 (patch)
tree00aeef71b3dbbca082ddd4039ba1d55359805afe /camel/camel-folder-summary.c
parenteb1b10897020045933caaca7920f3550b75c13b5 (diff)
downloadgsoc2013-evolution-0fe7101224105602a18e63eb83af4611648c9d91.tar.gz
gsoc2013-evolution-0fe7101224105602a18e63eb83af4611648c9d91.tar.zst
gsoc2013-evolution-0fe7101224105602a18e63eb83af4611648c9d91.zip
started summary implementation. (_open): correct use of open.
1999-09-04 bertrand <Bertrand.Guiheneuf@aful.org> * camel/providers/MH/camel-mh-folder.c (_create_summary): started summary implementation. (_open): correct use of open. * camel/camel-folder.c (camel_folder_get_summary): get folder associated summary object. svn path=/trunk/; revision=1177
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r--camel/camel-folder-summary.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index f0a3225ca1..a9f6f0cfa0 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -59,9 +59,11 @@ camel_folder_summary_class_init (CamelFolderSummaryClass *camel_folder_summary_c
static void
camel_folder_summary_init (gpointer object, gpointer klass)
{
- CamelFolderSummary *camel_folder_summary = CAMEL_FOLDER_SUMMARY (object);
+ CamelFolderSummary *summary = CAMEL_FOLDER_SUMMARY (object);
CAMEL_LOG_FULL_DEBUG ( "camel_folder_summary_init:: Entering\n");
+ summary->subfolder_info_list = NULL;
+ summary->message_info_list = NULL;
CAMEL_LOG_FULL_DEBUG ( "camel_folder_summary_init:: Leaving\n");
}
@@ -99,12 +101,18 @@ _finalize (GtkObject *object)
CAMEL_LOG_FULL_DEBUG ("Entering CamelFolderSummary::finalize\n");
CAMEL_LOG_FULL_DEBUG ("CamelFolderSummary::finalize, finalizing object %p\n", object);
-
+
parent_class->finalize (object);
CAMEL_LOG_FULL_DEBUG ("Leaving CamelFolderSummary::finalize\n");
}
+CamelFolderSummary *
+camel_folder_summary_new ()
+{
+ return gtk_type_new (CAMEL_FOLDER_SUMMARY_TYPE);
+}
+
static const GList *
_get_subfolder_info_list (CamelFolderSummary *summary)
{