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



commit 16449d2230e3bedeb20a8429f22ec63a1c31c68d
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Jan 30 13:07:32 2013 -0500

    ECalClient: Initialize public-facing GObject properties.

 calendar/libecal/e-cal-client.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/calendar/libecal/e-cal-client.c b/calendar/libecal/e-cal-client.c
index 2fb2a78..4d0f50b 100644
--- a/calendar/libecal/e-cal-client.c
+++ b/calendar/libecal/e-cal-client.c
@@ -1218,6 +1218,11 @@ cal_client_init_in_dbus_thread (GSimpleAsyncResult *simple,
 		priv->dbus_proxy, "free-busy-data",
 		G_CALLBACK (cal_client_dbus_proxy_free_busy_data_cb), client);
 	priv->dbus_proxy_free_busy_data_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]