projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bc9883
)
GDBus: ignore qualified XML tags and attributes
author
Ryan Lortie
<desrt@desrt.ca>
Mon, 28 Oct 2013 22:27:29 +0000
(15:27 -0700)
committer
Ryan Lortie
<desrt@desrt.ca>
Mon, 28 Oct 2013 22:28:51 +0000
(15:28 -0700)
Ignore qualified (in the XML namespace sense) tags and attributes when
parsing D-Bus introspection XML.
This will allow people to add custom tags and attributes to their D-Bus
interfaces without tripping up GDBus.
https://bugzilla.gnome.org/show_bug.cgi?id=665634
gio/gdbusintrospection.c
patch
|
blob
|
history
diff --git
a/gio/gdbusintrospection.c
b/gio/gdbusintrospection.c
index
b05f26f
..
c5f80ec
100644
(file)
--- a/
gio/gdbusintrospection.c
+++ b/
gio/gdbusintrospection.c
@@
-1789,7
+1789,7
@@
g_dbus_node_info_new_for_xml (const gchar *xml_data,
data = parse_data_new ();
context = g_markup_parse_context_new (parser,
-
0
,
+
G_MARKUP_IGNORE_QUALIFIED
,
data,
(GDestroyNotify) parse_data_free);