gtk2/testsuite/reftests/late-property.ref.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">
<property name="title-widget">
<object class="GtkLabel">
<property name="label">Title widget</property>
</object>
</property>
<child type="start">
<object class="GtkButton">
<property name="label">Button</property>
</object>
</child>
</object>
</child>
</object>
</interface>