forked from AuroraMiddleware/gtk
c4069fdcee
We were only applying <binding> elements when the object is constructed, which can be triggered by various things (e.g. a <style> element). Defer this until we reach </object>, so we can be sure that we pick up all the bindings. Testcase included. Fixes: #4147
19 lines
454 B
XML
19 lines
454 B
XML
<interface>
|
|
<object class="GtkWindow" id="window">
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="xalign">0.0</property>
|
|
<binding name="label">
|
|
<lookup name="label">label2</lookup>
|
|
</binding>
|
|
<style>
|
|
<class name="bold" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<object class="GtkLabel" id="label2">
|
|
<property name="label">Bla</property>
|
|
</object>
|
|
</interface>
|