[evolution-data-server] Bug 728496 - GOA configured Google calendar not using OAuth2



commit 3a01f639aecf7a4258502e937ba0d9789d0737d4
Author: Milan Crha <mcrha redhat com>
Date:   Thu May 14 12:41:45 2015 +0200

    Bug 728496 - GOA configured Google calendar not using OAuth2

 modules/google-backend/module-google-backend.c   |    8 ++++----
 modules/outlook-backend/module-outlook-backend.c |    8 ++++----
 modules/yahoo-backend/module-yahoo-backend.c     |    8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/modules/google-backend/module-google-backend.c b/modules/google-backend/module-google-backend.c
index 538583f..aca9688 100644
--- a/modules/google-backend/module-google-backend.c
+++ b/modules/google-backend/module-google-backend.c
@@ -603,6 +603,10 @@ google_backend_child_added (ECollectionBackend *backend,
        const gchar *extension_name;
        gboolean is_mail = FALSE;
 
+       /* Chain up to parent's child_added() method. */
+       E_COLLECTION_BACKEND_CLASS (e_google_backend_parent_class)->
+               child_added (backend, child_source);
+
        collection_source = e_backend_get_source (E_BACKEND (backend));
 
        extension_name = E_SOURCE_EXTENSION_MAIL_ACCOUNT;
@@ -684,10 +688,6 @@ google_backend_child_added (ECollectionBackend *backend,
                        G_CALLBACK (google_backend_contacts_update_auth_method),
                        NULL);
        }
-
-       /* Chain up to parent's child_added() method. */
-       E_COLLECTION_BACKEND_CLASS (e_google_backend_parent_class)->
-               child_added (backend, child_source);
 }
 
 static void
diff --git a/modules/outlook-backend/module-outlook-backend.c 
b/modules/outlook-backend/module-outlook-backend.c
index a868fe1..e1c3b60 100644
--- a/modules/outlook-backend/module-outlook-backend.c
+++ b/modules/outlook-backend/module-outlook-backend.c
@@ -96,6 +96,10 @@ outlook_backend_child_added (ECollectionBackend *backend,
        const gchar *extension_name;
        gboolean is_mail = FALSE;
 
+       /* Chain up to parent's child_added() method. */
+       E_COLLECTION_BACKEND_CLASS (e_outlook_backend_parent_class)->
+               child_added (backend, child_source);
+
        collection_source = e_backend_get_source (E_BACKEND (backend));
 
        extension_name = E_SOURCE_EXTENSION_MAIL_ACCOUNT;
@@ -135,10 +139,6 @@ outlook_backend_child_added (ECollectionBackend *backend,
                                auth_child_extension,
                                collection_identity);
        }
-
-       /* Chain up to parent's child_added() method. */
-       E_COLLECTION_BACKEND_CLASS (e_outlook_backend_parent_class)->
-               child_added (backend, child_source);
 }
 
 static void
diff --git a/modules/yahoo-backend/module-yahoo-backend.c b/modules/yahoo-backend/module-yahoo-backend.c
index 5a973a6..3e784a4 100644
--- a/modules/yahoo-backend/module-yahoo-backend.c
+++ b/modules/yahoo-backend/module-yahoo-backend.c
@@ -282,6 +282,10 @@ yahoo_backend_child_added (ECollectionBackend *backend,
        const gchar *extension_name;
        gboolean is_mail = FALSE;
 
+       /* Chain up to parent's child_added() method. */
+       E_COLLECTION_BACKEND_CLASS (e_yahoo_backend_parent_class)->
+               child_added (backend, child_source);
+
        yahoo_backend = E_YAHOO_BACKEND (backend);
        collection_source = e_backend_get_source (E_BACKEND (backend));
 
@@ -330,10 +334,6 @@ yahoo_backend_child_added (ECollectionBackend *backend,
                                auth_child_extension,
                                collection_identity);
        }
-
-       /* Chain up to parent's child_added() method. */
-       E_COLLECTION_BACKEND_CLASS (e_yahoo_backend_parent_class)->
-               child_added (backend, child_source);
 }
 
 static void


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