mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 23:46:15 +01:00
GDBus: Fix introspection of objects registered at /
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
799e0242ae
commit
98e4f7f6fb
@ -3583,7 +3583,7 @@ introspect_append_standard_interfaces (GString *s)
|
||||
static void
|
||||
maybe_add_path (const gchar *path, gsize path_len, const gchar *object_path, GHashTable *set)
|
||||
{
|
||||
if (g_str_has_prefix (object_path, path) && strlen (object_path) >= path_len)
|
||||
if (g_str_has_prefix (object_path, path) && strlen (object_path) > path_len)
|
||||
{
|
||||
const gchar *begin;
|
||||
const gchar *end;
|
||||
|
Loading…
Reference in New Issue
Block a user