gtk/testsuite/reftests/late-property.ui
Matthias Clasen ec62402908 builder: Fix parsing of mixed declarations
The GtkBuilder parser constructs the object e.g.
when handling a <binding> element. There may be
more <property> elements after it, which we were
just not applying. Fix that by always applying
property when we see </object>. To do that, we
need to track the applied status per property.

Test included.

Fixes: #4208
2021-09-27 17:47:24 -04:00

19 lines
489 B
XML

<interface>
<object class="GtkWindow">
<child type="titlebar">
<object class="GtkHeaderBar">
<child type="start">
<object class="GtkButton">
<property name="label">Button</property>
</object>
</child>
<property name="title-widget">
<object class="GtkLabel">
<property name="label">Title widget</property>
</object>
</property>
</object>
</child>
</object>
</interface>