forked from AuroraMiddleware/gtk
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
506 B
XML
18 lines
506 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<object class="GtkWindow" id="window1">
|
|
<child type="titlebar">
|
|
<object class="GtkHeaderBar" id="headerbar1">
|
|
<property name="title-widget">box1</property>
|
|
<child type="end">
|
|
<object class="GtkButton">
|
|
<property name="label">A!</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<object class="GtkBox" id="box1"/>
|
|
</interface>
|