[gtk/matthiasc/for-master: 1/4] buildertool: Fix a simplify issue




commit dfc905f2d01d30f14c93c5be141c9e37deb8f062
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Sep 29 07:48:33 2021 -0400

    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.

 tools/gtk-builder-tool-simplify.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tools/gtk-builder-tool-simplify.c b/tools/gtk-builder-tool-simplify.c
index cb83cb109b..accd8e08dc 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,
   };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]