aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-to-task
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mail-to-task')
-rw-r--r--plugins/mail-to-task/mail-to-task.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c
index 86663cc3b5..88d9d09e3a 100644
--- a/plugins/mail-to-task/mail-to-task.c
+++ b/plugins/mail-to-task/mail-to-task.c
@@ -780,7 +780,10 @@ do_mail_to_event (AsyncData *data)
struct _manage_comp *mc;
/* retrieve the message from the CamelFolder */
- message = camel_folder_get_message (folder, g_ptr_array_index (uids, i), NULL);
+ /* FIXME Not passing a GCancellable or GError. */
+ message = camel_folder_get_message (
+ folder, g_ptr_array_index (uids, i),
+ NULL, NULL);
if (!message) {
continue;
}