[evolution-data-server] EBookClient: Initialize public-facing GObject properties.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] EBookClient: Initialize public-facing GObject properties.
- Date: Wed, 30 Jan 2013 18:12:15 +0000 (UTC)
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]