[evolution] Pass GCancellable to em_format_write()



commit bdc9e28f725b0cacb4eb00e09a903f602a299d04
Author: Dan VrÃtil <dvratil redhat com>
Date:   Mon Apr 16 14:02:08 2012 +0200

    Pass GCancellable to em_format_write()

 mail/e-mail-request.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-request.c b/mail/e-mail-request.c
index 49c5b5a..d8dc036 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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]