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:44:37 +0000 (23:44 -0700)
commita8330df43ef5186ea17987e356aa895580de5ac1
tree5ad0aaa79cebca9f1b30523fa3892f24d3bb8a12
parent8c96349bd66387a5ea62e01d64c22990ef773fac
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