[evolution-ews] Check for cancellation when refreshing folder content
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Check for cancellation when refreshing folder content
- Date: Mon, 27 May 2013 18:41:40 +0000 (UTC)
commit ce9f7c5a262318b926fa7c2899d6157b9659b1aa
Author: Milan Crha <mcrha redhat com>
Date: Mon May 27 20:40:51 2013 +0200
Check for cancellation when refreshing folder content
src/camel/camel-ews-folder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-ews-folder.c b/src/camel/camel-ews-folder.c
index 69e3f25..efac562 100644
--- a/src/camel/camel-ews-folder.c
+++ b/src/camel/camel-ews-folder.c
@@ -1566,7 +1566,7 @@ ews_refresh_info_sync (CamelFolder *folder,
((CamelEwsSummary *) folder->summary)->sync_state = sync_state;
camel_folder_summary_touch (folder->summary);
- } while (!local_error && !includes_last_item);
+ } while (!local_error && !includes_last_item && !g_cancellable_is_cancelled (cancellable));
camel_folder_summary_save_to_db (folder->summary, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]