summaryrefslogtreecommitdiff
path: root/gio/glib-compile-schemas.c
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2013-10-28 15:30:25 -0700
committerRyan Lortie <desrt@desrt.ca>2013-10-28 15:30:25 -0700
commit908d7d6d6abb53a00e20bab70df7099ecd66890b (patch)
tree42983204114d12c31adba61b0f7e1e6dcbe79260 /gio/glib-compile-schemas.c
parent9933a9f90477bf960f7f9c357253d1e4c78e5db5 (diff)
downloadglib-908d7d6d6abb53a00e20bab70df7099ecd66890b.tar.gz
glib-compile-schemas: ignore qualified tags/attrs
Ignore qualified (in the XML namespace sense) tags and attributes when compiling GSettings schemas. This will allow people to add custom tags and attributes to their schemas without tripping up the compiler. https://bugzilla.gnome.org/show_bug.cgi?id=635641
Diffstat (limited to 'gio/glib-compile-schemas.c')
-rw-r--r--gio/glib-compile-schemas.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
index d414d1c35..9b9358183 100644
--- a/gio/glib-compile-schemas.c
+++ b/gio/glib-compile-schemas.c
@@ -1728,7 +1728,8 @@ parse_gschema_files (gchar **files,
context = g_markup_parse_context_new (&parser,
G_MARKUP_TREAT_CDATA_AS_TEXT |
- G_MARKUP_PREFIX_ERROR_POSITION,
+ G_MARKUP_PREFIX_ERROR_POSITION |
+ G_MARKUP_IGNORE_QUALIFIED,
&state, NULL);