[evolution] Bug #666512 - Busy-loop after pressing Send/Receive toolbar button
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #666512 - Busy-loop after pressing Send/Receive toolbar button
- Date: Mon, 19 Dec 2011 13:21:26 +0000 (UTC)
commit 83565040a769ece99c736aa382e8c9035997a72c
Author: Milan Crha <mcrha redhat com>
Date: Mon Dec 19 14:20:49 2011 +0100
Bug #666512 - Busy-loop after pressing Send/Receive toolbar button
mail/e-mail-account-store.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/mail/e-mail-account-store.c b/mail/e-mail-account-store.c
index 38f8311..c3d6207 100644
--- a/mail/e-mail-account-store.c
+++ b/mail/e-mail-account-store.c
@@ -1241,13 +1241,12 @@ e_mail_account_store_queue_enabled_services (EMailAccountStore *store,
enabled = g_value_get_boolean (&value);
g_value_unset (&value);
- if (!enabled)
- continue;
-
- column = E_MAIL_ACCOUNT_STORE_COLUMN_SERVICE;
- gtk_tree_model_get_value (tree_model, &iter, column, &value);
- g_queue_push_tail (out_queue, g_value_get_object (&value));
- g_value_unset (&value);
+ if (enabled) {
+ column = E_MAIL_ACCOUNT_STORE_COLUMN_SERVICE;
+ gtk_tree_model_get_value (tree_model, &iter, column, &value);
+ g_queue_push_tail (out_queue, g_value_get_object (&value));
+ g_value_unset (&value);
+ }
iter_set = gtk_tree_model_iter_next (tree_model, &iter);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]