gdbus/client: Allow specifying ObjectManager path
authorArman Uguray <armansito@chromium.org>
Fri, 27 Feb 2015 08:16:25 +0000 (00:16 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Mar 2015 09:02:05 +0000 (10:02 +0100)
commit97ac3f7c769b2a6c982a0889475e0c76296c383f
treed963c499efa69edbae58bcab84b8bd479c951cba
parent26a00f2f31225b9ec8564a9fc6c3987480e47e36
gdbus/client: Allow specifying ObjectManager path

GDBusClient currently hard-codes "/" as the remote ObjectManager path.
This is generally incorrect, as an application can choose to expose an
ObjectManager at any well-known path. This patch fixes this by allowing
the user to pass in the ObjectManager path by introducing a new
conctructor "g_dbus_client_new_full".
gdbus/client.c
gdbus/gdbus.h