CamelOfflineStore: Chain up in the notify() method.
authorMatthew Barnes <mbarnes@redhat.com>
Sat, 16 Nov 2013 14:36:49 +0000 (09:36 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 16 Nov 2013 14:44:29 +0000 (09:44 -0500)
CamelObject provides a safety net for this method now.

camel/camel-offline-store.c

index d09a9a0..9a6a0c7 100644 (file)
@@ -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