[evolution] EMailSession: Use e_source_camel_generate_subtype().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EMailSession: Use e_source_camel_generate_subtype().
- Date: Tue, 5 Jun 2012 19:06:11 +0000 (UTC)
commit ab69060ca34bd7f1ffa9d34251baf299b73f1caa
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Jun 5 14:48:40 2012 -0400
EMailSession: Use e_source_camel_generate_subtype().
Use e_source_camel_generate_subtype() to register an ESourceCamelNone
class based on the newly-registered "none" CamelProvider.
e_source_camel_register_types() won't pick up the new provider if it was
already called prior to the provider being registered. That might be a
bug... I'm not sure yet. The Camel/ESource integration is kinda messy.
libemail-engine/e-mail-session.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libemail-engine/e-mail-session.c b/libemail-engine/e-mail-session.c
index c2eb5d3..a319a88 100644
--- a/libemail-engine/e-mail-session.c
+++ b/libemail-engine/e-mail-session.c
@@ -1764,7 +1764,7 @@ e_mail_session_class_init (EMailSessionClass *class)
camel_null_store_register_provider ();
/* Make sure ESourceCamel picks up the "none" provider. */
- e_source_camel_register_types ();
+ e_source_camel_generate_subtype ("none", CAMEL_TYPE_SETTINGS);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]