[evolution-ews] Bug 747500 - Mail account connection settings change requires restart



commit 151c0c4378e148358ba12120149f8012dd5e42fd
Author: Milan Crha <mcrha redhat com>
Date:   Fri Apr 10 07:20:24 2015 +0200

    Bug 747500 - Mail account connection settings change requires restart

 src/camel/camel-ews-store.c     |    4 ++++
 src/camel/camel-ews-transport.c |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/camel/camel-ews-store.c b/src/camel/camel-ews-store.c
index 9f58060..7c33847 100644
--- a/src/camel/camel-ews-store.c
+++ b/src/camel/camel-ews-store.c
@@ -1160,6 +1160,10 @@ ews_connect_sync (CamelService *service,
        gchar *auth_mech;
        gboolean success;
 
+       /* Chain up to parent's method. */
+       if (!CAMEL_SERVICE_CLASS (camel_ews_store_parent_class)->connect_sync (service, cancellable, error))
+               return FALSE;
+
        ews_store = CAMEL_EWS_STORE (service);
        priv = ews_store->priv;
 
diff --git a/src/camel/camel-ews-transport.c b/src/camel/camel-ews-transport.c
index e37b2f2..fea1cee 100644
--- a/src/camel/camel-ews-transport.c
+++ b/src/camel/camel-ews-transport.c
@@ -134,6 +134,10 @@ ews_transport_connect_sync (CamelService *service,
                             GCancellable *cancellable,
                             GError **error)
 {
+       /* Chain up to parent's method. */
+       if (!CAMEL_SERVICE_CLASS (camel_ews_transport_parent_class)->connect_sync (service, cancellable, 
error))
+               return FALSE;
+
        return TRUE;
 }
 


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