forked from AuroraMiddleware/gtk
ec62402908
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
19 lines
489 B
XML
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>
|