aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-file-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-file-utils.c')
-rw-r--r--e-util/e-file-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-file-utils.c b/e-util/e-file-utils.c
index ebb65f460e..90b2e77205 100644
--- a/e-util/e-file-utils.c
+++ b/e-util/e-file-utils.c
@@ -172,6 +172,8 @@ e_file_replace_contents_async (GFile *file,
G_OBJECT (file), callback, user_data,
e_file_replace_contents_async);
+ g_simple_async_result_set_check_cancellable (simple, cancellable);
+
g_simple_async_result_set_op_res_gpointer (
simple, context, (GDestroyNotify) async_context_free);