aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-06-06 02:48:40 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-06-06 02:48:40 +0800
commitab69060ca34bd7f1ffa9d34251baf299b73f1caa (patch)
tree6322b1a88fd6c0bbfdcc6c3471115d27ded8b7b7
parentbd7876a05cbd0d2ab1e326d0517082c0c50cf905 (diff)
downloadgsoc2013-evolution-ab69060ca34bd7f1ffa9d34251baf299b73f1caa.tar.gz
gsoc2013-evolution-ab69060ca34bd7f1ffa9d34251baf299b73f1caa.tar.zst
gsoc2013-evolution-ab69060ca34bd7f1ffa9d34251baf299b73f1caa.zip
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.
-rw-r--r--libemail-engine/e-mail-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libemail-engine/e-mail-session.c b/libemail-engine/e-mail-session.c
index c2eb5d3905..a319a88815 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