mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
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">
|
|
<style>
|
|
<class name="bold" />
|
|
</style>
|
|
<property name="xalign">0.0</property>
|
|
<binding name="label">
|
|
<lookup name="label">label2</lookup>
|
|
</binding>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<object class="GtkLabel" id="label2">
|
|
<property name="label">Bla</property>
|
|
</object>
|
|
</interface>
|