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)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 4 May 2013 06:43:06 +0000 (23:43 -0700)
commit0ecd3562a0f5e0f50c215bdc542f63e459425893
tree83d56094b9d19c904bbd501f8042eda2dd6ee796
parent8caf91bf0f6d81e90c12b2ea2f2bcd726e3f2d4a
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