summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-09-29 07:48:33 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-09-29 10:58:23 -0400
commitfd0a5e3c2381af223f357bdfd375bc65453ead75 (patch)
tree61ad6438dff10413d107a27bb175cbfa9ed7b3d5 /tools
parent6f002678be5cc351ed32366f5c65a2997180e8a8 (diff)
downloadgtk+-fd0a5e3c2381af223f357bdfd375bc65453ead75.tar.gz
buildertool: Fix a simplify issue
<lookup> elements can contain a type name, we can't just ignore the pcdata content. This was breaking some of our ui files when simplifying them.
Diffstat (limited to 'tools')
-rw-r--r--tools/gtk-builder-tool-simplify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gtk-builder-tool-simplify.c b/tools/gtk-builder-tool-simplify.c
index e9d15f6582..0f13bf7a6d 100644
--- a/tools/gtk-builder-tool-simplify.c
+++ b/tools/gtk-builder-tool-simplify.c
@@ -255,6 +255,7 @@ is_pcdata_element (Element *element)
"col",
"item",
"mark",
+ "lookup",
NULL,
};