aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/composer-autosave/e-autosave-utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/composer-autosave/e-autosave-utils.c b/modules/composer-autosave/e-autosave-utils.c
index 8d03aaaecc..88f6dde0e8 100644
--- a/modules/composer-autosave/e-autosave-utils.c
+++ b/modules/composer-autosave/e-autosave-utils.c
@@ -410,6 +410,8 @@ e_composer_load_snapshot (EShell *shell,
G_OBJECT (shell), callback, user_data,
e_composer_load_snapshot);
+ g_simple_async_result_set_check_cancellable (simple, cancellable);
+
g_simple_async_result_set_op_res_gpointer (
simple, context, (GDestroyNotify) load_context_free);
@@ -464,6 +466,8 @@ e_composer_save_snapshot (EMsgComposer *composer,
G_OBJECT (composer), callback, user_data,
e_composer_save_snapshot);
+ g_simple_async_result_set_check_cancellable (simple, cancellable);
+
g_simple_async_result_set_op_res_gpointer (
simple, context, (GDestroyNotify) save_context_free);