[evolution/email-factory-3-4] Ported 2a384708440fb3adc32beaf0ae640208efe95476
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/email-factory-3-4] Ported 2a384708440fb3adc32beaf0ae640208efe95476
- Date: Mon, 31 Oct 2011 07:31:04 +0000 (UTC)
commit ccb6dddc1e22b27036b42588fb2e3c9e501e0997
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Mon Oct 31 12:36:51 2011 +0530
Ported 2a384708440fb3adc32beaf0ae640208efe95476
libemail-engine/e-mail-store.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libemail-engine/e-mail-store.c b/libemail-engine/e-mail-store.c
index db5b94e..a3aeb82 100644
--- a/libemail-engine/e-mail-store.c
+++ b/libemail-engine/e-mail-store.c
@@ -368,7 +368,8 @@ handle_transport:
camel_url_free (url);
}
- if (!skip && (provider->flags & CAMEL_PROVIDER_IS_STORAGE))
+ if (!skip && (provider->flags & CAMEL_PROVIDER_IS_STORAGE) != 0 && store_table != NULL)
+
e_mail_store_add (session, CAMEL_STORE (service));
return CAMEL_STORE (service);
@@ -433,7 +434,7 @@ e_mail_store_remove_by_account (EMailSession *session,
provider = camel_service_get_provider (service);
g_return_if_fail (provider != NULL);
- if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE))
+ if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE) || store_table == NULL)
return;
e_mail_store_remove (session, CAMEL_STORE (service));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]