[evolution-mapi] camel_operation_cancel_check(NULL) returns FALSE.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] camel_operation_cancel_check(NULL) returns FALSE.
- Date: Sat, 5 Nov 2011 04:25:47 +0000 (UTC)
commit 3f0a9c1024edf9bcd503671e43f0fe4de41cc0d8
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Nov 5 00:24:23 2011 -0400
camel_operation_cancel_check(NULL) returns FALSE.
Always. Pointless call.
src/camel/camel-mapi-folder.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/camel/camel-mapi-folder.c b/src/camel/camel-mapi-folder.c
index 8add094..bb2c1f2 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -231,7 +231,7 @@ fetch_items_summary_cb (FetchItemsCallbackData *item_data,
if (item_data->total > 0)
camel_operation_progress (NULL, (item_data->index * 100)/item_data->total);
- if (camel_operation_cancel_check (NULL) || camel_application_is_exiting)
+ if (camel_application_is_exiting)
return FALSE;
return TRUE;
@@ -540,7 +540,7 @@ deleted_items_sync_cb (FetchItemsCallbackData *item_data,
camel_operation_progress (NULL, (item_data->index * 100)/item_data->total);
/* Check if we have to stop */
- if (camel_operation_cancel_check (NULL) || camel_application_is_exiting)
+ if (camel_application_is_exiting)
return FALSE;
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]