diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 2000-01-25 18:58:55 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 2000-01-25 18:58:55 +0800 |
commit | 5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee (patch) | |
tree | 6dbf4589a04b72470f379fccb3d27554b3608980 /mail/message-list.c | |
parent | 22a335e6143796e48d634cb39bf4d5555ba75ff7 (diff) | |
download | gsoc2013-evolution-5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee.tar.gz gsoc2013-evolution-5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee.tar.zst gsoc2013-evolution-5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee.zip |
It compiles -miguel
svn path=/trunk/; revision=1630
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 07959d818e..f7c54bea04 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -16,6 +16,7 @@ #include "e-table/e-cell-text.h" #include "e-table/e-cell-toggle.h" #include "e-table/e-cell-checkbox.h" +#include "e-util/e-util.h" #include "message-list.h" #include "Mail.h" @@ -368,17 +369,19 @@ message_list_new (void) void message_list_set_folder (MessageList *message_list, CamelFolder *camel_folder) { + CamelException ex; + g_return_if_fail (message_list != NULL); g_return_if_fail (camel_folder != NULL); g_return_if_fail (IS_MESSAGE_LIST (message_list)); g_return_if_fail (CAMEL_IS_FOLDER (camel_folder)); - g_return_if_fail (camel_has_summary_capability (camel_folder)); + g_return_if_fail (camel_folder_has_summary_capability (camel_folder, &ex)); if (message_list->folder) gtk_object_unref (GTK_OBJECT (message_list->folder)); message_list->folder = camel_folder; - message_list->folder_summary = camel_folder_get_summary (camel_folder); + message_list->folder_summary = camel_folder_get_summary (camel_folder, &ex); gtk_object_ref (GTK_OBJECT (camel_folder)); |