[evolution/wip/gsettings] Runtime warning when closing without using mailer
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Runtime warning when closing without using mailer
- Date: Wed, 29 Jun 2011 16:59:36 +0000 (UTC)
commit 788b153bc5b08f13f655df52f50095c61a6f1537
Author: Milan Crha <mcrha redhat com>
Date: Thu Jan 13 09:20:36 2011 +0100
Runtime warning when closing without using mailer
mail/e-mail-store.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c
index 46f0270..af602b1 100644
--- a/mail/e-mail-store.c
+++ b/mail/e-mail-store.c
@@ -406,7 +406,10 @@ e_mail_store_foreach (GHFunc func,
gpointer key, value;
g_return_if_fail (func != NULL);
- g_return_if_fail (store_table != NULL);
+
+ /* case when started in other than mailer component and closing evolution */
+ if (!store_table)
+ return;
g_hash_table_iter_init (&iter, store_table);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]