[evolution-data-server] ECalClient: Use G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] ECalClient: Use G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START.
- Date: Sat, 9 Feb 2013 22:06:54 +0000 (UTC)
commit fbc6bd303f4d5cf2ec3d82dcf91d54659cd3f209
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Feb 9 16:50:27 2013 -0500
ECalClient: Use G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START.
Set the DO_NOT_AUTO_START flag on new client-side proxies, so that if
the factory process crashes we don't restart it by way of some random
method call. Until the backend's "open" procedure is fully automated
on the server-side, only new client instances should attempt to start
the factory process.
calendar/libecal/e-cal-client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/calendar/libecal/e-cal-client.c b/calendar/libecal/e-cal-client.c
index 48e7c30..59e7ac6 100644
--- a/calendar/libecal/e-cal-client.c
+++ b/calendar/libecal/e-cal-client.c
@@ -1123,7 +1123,7 @@ cal_client_init_in_dbus_thread (GSimpleAsyncResult *simple,
priv->dbus_proxy = e_dbus_calendar_proxy_new_sync (
g_dbus_proxy_get_connection (factory_proxy),
- G_DBUS_PROXY_FLAGS_NONE,
+ G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
g_dbus_proxy_get_name (factory_proxy),
object_path, cancellable, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]