diff options
author | Milan Crha <mcrha@redhat.com> | 2011-01-13 16:20:36 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-01-13 16:20:36 +0800 |
commit | d77883daff28b0bcb091eb75609d9cfedba0d57c (patch) | |
tree | 5f33d5df720a1483563dea363c3d70ce1291235a | |
parent | 7ed120d34462ba1425782d1f0788863974f47cac (diff) | |
download | gsoc2013-evolution-d77883daff28b0bcb091eb75609d9cfedba0d57c.tar gsoc2013-evolution-d77883daff28b0bcb091eb75609d9cfedba0d57c.tar.gz gsoc2013-evolution-d77883daff28b0bcb091eb75609d9cfedba0d57c.tar.bz2 gsoc2013-evolution-d77883daff28b0bcb091eb75609d9cfedba0d57c.tar.lz gsoc2013-evolution-d77883daff28b0bcb091eb75609d9cfedba0d57c.tar.xz gsoc2013-evolution-d77883daff28b0bcb091eb75609d9cfedba0d57c.tar.zst gsoc2013-evolution-d77883daff28b0bcb091eb75609d9cfedba0d57c.zip |
Runtime warning when closing without using mailer
-rw-r--r-- | 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 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); |