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:42:29 +0000 (23:42 -0700)
commitc26a6862d8e9dbeac60c4ef0db1e88e06879a7b7
treed44b3524c95fdf1418fcad56a97f7bbd27a2ebd7
parent74640d6e0a42ccbf8e8557836e84f81a4f4375d1
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