projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e409019
)
* Fixes NB#91102, reversed a list as the comment suggested
author
Sergio Villar Senin
<svillar@igalia.com>
Thu, 30 Oct 2008 09:57:03 +0000
(09:57 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Thu, 30 Oct 2008 09:57:03 +0000
(09:57 +0000)
pmo-trunk-r6184
src/modest-mail-operation-queue.c
patch
|
blob
|
history
diff --git
a/src/modest-mail-operation-queue.c
b/src/modest-mail-operation-queue.c
index
804a656
..
1ca4450
100644
(file)
--- a/
src/modest-mail-operation-queue.c
+++ b/
src/modest-mail-operation-queue.c
@@
-431,7
+431,7
@@
modest_mail_operation_queue_cancel_all (ModestMailOperationQueue *self)
g_queue_foreach (priv->op_queue, (GFunc) on_cancel_all_foreach, &operations_to_cancel);
g_mutex_unlock (priv->queue_lock);
- /* TODO: Reverse the list, to remove operations in order? */
+ operations_to_cancel = g_slist_reverse (operations_to_cancel);
for(cur = operations_to_cancel; cur != NULL; cur = cur->next) {
if (!MODEST_IS_MAIL_OPERATION(cur->data))