Fix bindings with no flags

This commit is contained in:
James Westman 2021-11-24 14:12:37 -06:00
parent 2a18273c80
commit 3f55aae7de
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
3 changed files with 6 additions and 3 deletions

View file

@ -2,6 +2,8 @@ using Gtk 4.0;
Box {
visible: bind box2.visible sync-create;
orientation: bind box2.orientation;
}
Box box2 {}
Box box2 {
}

View file

@ -3,6 +3,7 @@
<requires lib="gtk" version="4.0"/>
<object class="GtkBox">
<property name="visible" bind-source="box2" bind-property="visible" bind-flags="sync-create"/>
<property name="orientation" bind-source="box2" bind-property="orientation"/>
</object>
<object class="GtkBox" id="box2"></object>
</interface>