diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-06-06 02:48:40 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-06 02:48:40 +0800 |
commit | ab69060ca34bd7f1ffa9d34251baf299b73f1caa (patch) | |
tree | 6322b1a88fd6c0bbfdcc6c3471115d27ded8b7b7 /libemail-engine | |
parent | bd7876a05cbd0d2ab1e326d0517082c0c50cf905 (diff) | |
download | gsoc2013-evolution-ab69060ca34bd7f1ffa9d34251baf299b73f1caa.tar gsoc2013-evolution-ab69060ca34bd7f1ffa9d34251baf299b73f1caa.tar.gz gsoc2013-evolution-ab69060ca34bd7f1ffa9d34251baf299b73f1caa.tar.bz2 gsoc2013-evolution-ab69060ca34bd7f1ffa9d34251baf299b73f1caa.tar.lz gsoc2013-evolution-ab69060ca34bd7f1ffa9d34251baf299b73f1caa.tar.xz 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.
Diffstat (limited to 'libemail-engine')
-rw-r--r-- | 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 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 |