[evolution-data-server] CamelOfflineStore: Chain up in the notify() method.



commit 3dd8ffe0bc3b189619f0cfdb97afe83fd90529fc
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Nov 16 09:36:49 2013 -0500

    CamelOfflineStore: Chain up in the notify() method.
    
    CamelObject provides a safety net for this method now.

 camel/camel-offline-store.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-offline-store.c b/camel/camel-offline-store.c
index d09a9a0..9a6a0c7 100644
--- a/camel/camel-offline-store.c
+++ b/camel/camel-offline-store.c
@@ -94,6 +94,10 @@ offline_store_notify (GObject *object,
 {
        if (g_strcmp0 (pspec->name, "host-reachable") == 0)
                g_object_notify (object, "online");
+
+       /* Chain up to parent's notify() method. */
+       G_OBJECT_CLASS (camel_offline_store_parent_class)->
+               notify (object, pspec);
 }
 
 static void


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