From bdc9e28f725b0cacb4eb00e09a903f602a299d04 Mon Sep 17 00:00:00 2001 From: Dan Vrátil Date: Mon, 16 Apr 2012 14:02:08 +0200 Subject: Pass GCancellable to em_format_write() --- mail/e-mail-request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/e-mail-request.c b/mail/e-mail-request.c index 49c5b5a47f..d8dc0369c3 100644 --- a/mail/e-mail-request.c +++ b/mail/e-mail-request.c @@ -98,7 +98,7 @@ handle_mail_request (GSimpleAsyncResult *res, if (request->priv->puri) { em_format_puri_write (request->priv->puri, - request->priv->output_stream, &info, NULL); + request->priv->output_stream, &info, cancellable); } else { g_warning ("Failed to lookup requested part '%s' - this should not happen!", part_id); } @@ -108,7 +108,7 @@ handle_mail_request (GSimpleAsyncResult *res, if (info.mode == 0) info.mode = EM_FORMAT_WRITE_MODE_NORMAL; - em_format_write (emf, request->priv->output_stream, &info, NULL); + em_format_write (emf, request->priv->output_stream, &info, cancellable); } /* Convert the GString to GInputStream and send it back to WebKit */ -- cgit