GNOME Bugzilla – Bug 761810
gio: Support using GDBusObjectManagerServer at path ‘/’
Last modified: 2016-06-15 17:28:05 UTC
Simple patch attached.
Created attachment 320775 [details] [review] gio: Support using GDBusObjectManagerServer at path ‘/’ 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.
Review of attachment 320775 [details] [review]: Go ahead after the fixup. Or don't do the fixup. I don't really mind, either way =) ::: gio/gdbusobjectmanagerserver.c @@ +178,3 @@ g_assert (g_variant_is_object_path (g_value_get_string (value))); manager->priv->object_path = g_value_dup_string (value); + if (g_strcmp0 (manager->priv->object_path, "/") == 0) g_str_equal() plz
Attachment 320775 [details] pushed as b26b083 - gio: Support using GDBusObjectManagerServer at path ‘/’