[evolution-data-server] EBookClient: Initialize public-facing GObject properties.



commit 35af6985af716f27d6d5db81f063858894825f0c
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Jan 30 13:07:08 2013 -0500

    EBookClient: Initialize public-facing GObject properties.

 addressbook/libebook/e-book-client.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libebook/e-book-client.c b/addressbook/libebook/e-book-client.c
index e7f0a3e..158774d 100644
--- a/addressbook/libebook/e-book-client.c
+++ b/addressbook/libebook/e-book-client.c
@@ -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



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