mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-14 12:28:29 +01:00
Previously, the code validated that child objects have a path with the object manager strictly as a prefix. That doesn’t work in the case where the object manager’s path is `/`. This case is not recommended, but is supported. If the object manager’s path is `/`, validate that child objects’ paths are not equal to it. If they are equal to it, warn the user rather than emitting a critical warning, since we can’t expect any users who’ve not been compliant with the spec to instantly rework their D-Bus APIs. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #2500
41 KiB
41 KiB