mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 05:13:06 +02: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
|
static void
|
||||||
maybe_add_path (const gchar *path, gsize path_len, const gchar *object_path, GHashTable *set)
|
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 *begin;
|
||||||
const gchar *end;
|
const gchar *end;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user