EBookClient: Initialize public-facing GObject properties.
authorMatthew Barnes <mbarnes@redhat.com>
Wed, 30 Jan 2013 18:07:08 +0000 (13:07 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Wed, 30 Jan 2013 18:07:08 +0000 (13:07 -0500)
addressbook/libebook/e-book-client.c

index e7f0a3e..158774d 100644 (file)
@@ -1000,6 +1000,11 @@ book_client_init_in_dbus_thread (GSimpleAsyncResult *simple,
                priv->dbus_proxy, "notify",
                G_CALLBACK (book_client_dbus_proxy_notify_cb), client);
        priv->dbus_proxy_notify_handler_id = handler_id;
+
+       /* Initialize our public-facing GObject properties. */
+       g_object_notify (G_OBJECT (priv->dbus_proxy), "online");
+       g_object_notify (G_OBJECT (priv->dbus_proxy), "writable");
+       g_object_notify (G_OBJECT (priv->dbus_proxy), "capabilities");
 }
 
 static gboolean