aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-01-13 16:20:36 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:18 +0800
commit788b153bc5b08f13f655df52f50095c61a6f1537 (patch)
treef605b11df63d25da490da84ebc32fa413fcb343e /mail
parentcdbf674fbe487fb2f8d9643a68b5fa9e00a0691b (diff)
downloadgsoc2013-evolution-788b153bc5b08f13f655df52f50095c61a6f1537.tar
gsoc2013-evolution-788b153bc5b08f13f655df52f50095c61a6f1537.tar.gz
gsoc2013-evolution-788b153bc5b08f13f655df52f50095c61a6f1537.tar.bz2
gsoc2013-evolution-788b153bc5b08f13f655df52f50095c61a6f1537.tar.lz
gsoc2013-evolution-788b153bc5b08f13f655df52f50095c61a6f1537.tar.xz
gsoc2013-evolution-788b153bc5b08f13f655df52f50095c61a6f1537.tar.zst
gsoc2013-evolution-788b153bc5b08f13f655df52f50095c61a6f1537.zip
Runtime warning when closing without using mailer
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-store.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c
index 46f02705fc..af602b1a81 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);