OSDN Git Service

gdbus: Fix calling GetManagedObjects twice in a row
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 18 Apr 2013 20:34:03 +0000 (23:34 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 3 May 2013 10:19:54 +0000 (13:19 +0300)
commit85f7d4894c19e3e07cb323558ea0e5c410470496
treebb1eca43c6955ca2c9f225e8def86275eb3b3b3e
parent0f2f27611c6d6c67d32a4f12fa6e87b2efc1b7ee
gdbus: Fix calling GetManagedObjects twice in a row

Calling g_dbus_client_new followed by g_dbus_client_set_proxy_handlers
cause two calls to GetManagedObjects in a row as GetNameOwner reply is
asyncronously it triggers the second call because the handlers have
been set by g_dbus_client_set_proxy_handlers.
gdbus/client.c