[evolution-ews/account-mgmt] EEwsBackend: Generate the ESourceCamelEws type sooner.



commit 6207cb9f38e2c702858cb6b36ac75bfd4655ff70
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed May 30 14:39:04 2012 -0400

    EEwsBackend: Generate the ESourceCamelEws type sooner.

 src/modules/module-ews-backend.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/modules/module-ews-backend.c b/src/modules/module-ews-backend.c
index 1a5207e..df680b9 100644
--- a/src/modules/module-ews-backend.c
+++ b/src/modules/module-ews-backend.c
@@ -758,6 +758,9 @@ e_ews_backend_class_init (EEwsBackendClass *class)
 	backend_class->populate = ews_backend_populate;
 	backend_class->child_added = ews_backend_child_added;
 	backend_class->child_removed = ews_backend_child_removed;
+
+	/* This generates an ESourceCamel subtype for CamelEwsSettings. */
+	e_source_camel_generate_subtype ("ews", CAMEL_TYPE_EWS_SETTINGS);
 }
 
 static void
@@ -781,9 +784,6 @@ e_ews_backend_init (EEwsBackend *backend)
 		(GDestroyNotify) g_object_unref);
 
 	backend->sync_state_lock = g_mutex_new ();
-
-	/* This generates an ESourceCamel subtype for CamelEwsSettings. */
-	e_source_camel_generate_subtype ("ews", CAMEL_TYPE_EWS_SETTINGS);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]