From: Matthew Barnes Date: Sat, 9 Feb 2013 17:06:23 +0000 (-0500) Subject: EBookClient: Use G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START. X-Git-Tag: upstream/3.7.91~193 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b476dbadbb8c11e1cd606f96eec5a496bf52f0ee;p=platform%2Fupstream%2Fevolution-data-server.git EBookClient: 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. --- diff --git a/addressbook/libebook/e-book-client.c b/addressbook/libebook/e-book-client.c index f13c623..5e16504 100644 --- a/addressbook/libebook/e-book-client.c +++ b/addressbook/libebook/e-book-client.c @@ -906,7 +906,7 @@ book_client_init_in_dbus_thread (GSimpleAsyncResult *simple, priv->dbus_proxy = e_dbus_address_book_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);