mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
d6a0948182
gtk-builder-tool simplify --3to4 now produces a <requires lib="gtk" version="4.0"/>. Adapt for that, and also add some tests that check that we actually verify the requires, and accept 3.99 and 4.0, but not 5.x.
18 lines
502 B
XML
18 lines
502 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<object class="GtkOverlay">
|
|
<child type="overlay">
|
|
<object class="GtkButton" id="button">
|
|
<property name="can-target">0</property>
|
|
<property name="icon-name">document-new</property>
|
|
</object>
|
|
</child>
|
|
<property name="child">
|
|
<object class="GtkLabel" id="label">
|
|
<property name="visible">0</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</interface>
|