gio: Support using GDBusObjectManagerServer at path ‘/’

Desktop / GNOME / GLib - Philip Withnall [collabora.co.uk] - 15 June 2016 12:27 UTC

Previously this would cause an assertion failure when checking the paths of exported objects, as it would try to check that their paths started with ‘//’ due to mishandling the root object case.

Includes a unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=761810

b26b083 gio: Support using GDBusObjectManagerServer at path ‘/’
gio/gdbusobjectmanagerserver.c | 11 ++++++----
gio/tests/gdbus-peer-object-manager.c | 39 ++++++++++++++++++++++++---------
2 files changed, 36 insertions(+), 14 deletions(-)

Upstream: git.gnome.org


  • Share