Fix crash in flags value for unchecked classes

This commit is contained in:
James Westman 2022-04-18 15:38:04 -05:00
parent 3f8b38d219
commit 417f163a5a
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
5 changed files with 13 additions and 3 deletions

View file

@ -2,5 +2,6 @@ using Gtk 4.0;
.MyComponent component {
.MyComponent2 {
flags-value: a | b;
}
}

View file

@ -3,7 +3,9 @@
<requires lib="gtk" version="4.0"/>
<object class="MyComponent" id="component">
<child>
<object class="MyComponent2"></object>
<object class="MyComponent2">
<property name="flags-value">a|b</property>
</object>
</child>
</object>
</interface>

View file

@ -0,0 +1,7 @@
using Gtk 4.0;
.MyComponent component {
.MyComponent2 {
flags-value: "a|b";
}
}