diff options
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r-- | camel/camel-folder-summary.c | 17 |
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) } + + + + + + + + |