diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-07-08 23:04:23 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-28 23:35:55 +0800 |
commit | a91eeb647138ee035444cdc3c265fa4e95898f29 (patch) | |
tree | 63b5712bc407630d6ad6e504244e6cc4ebc35a86 /modules/mail/e-mail-attachment-handler.c | |
parent | 2c21832faab43a176dcb37bc2c65e9e3fb55fc9f (diff) | |
download | gsoc2013-evolution-a91eeb647138ee035444cdc3c265fa4e95898f29.tar.gz gsoc2013-evolution-a91eeb647138ee035444cdc3c265fa4e95898f29.tar.zst gsoc2013-evolution-a91eeb647138ee035444cdc3c265fa4e95898f29.zip |
Pass GCancellable to Camel.
Diffstat (limited to 'modules/mail/e-mail-attachment-handler.c')
-rw-r--r-- | modules/mail/e-mail-attachment-handler.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/mail/e-mail-attachment-handler.c b/modules/mail/e-mail-attachment-handler.c index 313dddeac4..99d16e9a34 100644 --- a/modules/mail/e-mail-attachment-handler.c +++ b/modules/mail/e-mail-attachment-handler.c @@ -288,14 +288,16 @@ mail_attachment_handler_x_uid_list (EAttachmentView *view, goto exit; /* The first string is the folder URI. */ - folder = mail_tool_uri_to_folder (data, 0, &local_error); + /* FIXME Not passing a GCancellable here. */ + folder = mail_tool_uri_to_folder (data, 0, NULL, &local_error); if (folder == NULL) goto exit; /* Handle one message. */ if (uids->len == 1) { + /* FIXME Not passing a GCancellable here. */ message = camel_folder_get_message ( - folder, uids->pdata[0], &local_error); + folder, uids->pdata[0], NULL, &local_error); if (message == NULL) goto exit; @@ -318,8 +320,9 @@ mail_attachment_handler_x_uid_list (EAttachmentView *view, camel_multipart_set_boundary (multipart, NULL); for (ii = 0; ii < uids->len; ii++) { + /* FIXME Not passing a GCancellable here. */ message = camel_folder_get_message ( - folder, uids->pdata[ii], &local_error); + folder, uids->pdata[ii], NULL, &local_error); if (message == NULL) { g_object_unref (multipart); goto exit; |