aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-04-16 20:02:08 +0800
committerDan Vrátil <dvratil@redhat.com>2012-04-16 20:02:08 +0800
commitbdc9e28f725b0cacb4eb00e09a903f602a299d04 (patch)
tree027316ff56851d098fde3de472e6fa54d728fdbb /mail
parent7c0200eacd19539e27bfb47f30b28b114d1e5ce5 (diff)
downloadgsoc2013-evolution-bdc9e28f725b0cacb4eb00e09a903f602a299d04.tar
gsoc2013-evolution-bdc9e28f725b0cacb4eb00e09a903f602a299d04.tar.gz
gsoc2013-evolution-bdc9e28f725b0cacb4eb00e09a903f602a299d04.tar.bz2
gsoc2013-evolution-bdc9e28f725b0cacb4eb00e09a903f602a299d04.tar.lz
gsoc2013-evolution-bdc9e28f725b0cacb4eb00e09a903f602a299d04.tar.xz
gsoc2013-evolution-bdc9e28f725b0cacb4eb00e09a903f602a299d04.tar.zst
gsoc2013-evolution-bdc9e28f725b0cacb4eb00e09a903f602a299d04.zip
Pass GCancellable to em_format_write()
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-request.c4
1 files 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 */