[glib] GDBus: Fix introspection of objects registered at /
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GDBus: Fix introspection of objects registered at /
- Date: Mon, 17 May 2010 15:10:37 +0000 (UTC)
commit 98e4f7f6fbd1b8ac889327559a50e4369d064a74
Author: David Zeuthen <davidz redhat com>
Date: Mon May 17 11:07:53 2010 -0400
GDBus: Fix introspection of objects registered at /
Signed-off-by: David Zeuthen <davidz redhat com>
gio/gdbusconnection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c
index 913c409..8bd6f38 100644
--- a/gio/gdbusconnection.c
+++ b/gio/gdbusconnection.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]