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.
27 lines
849 B
XML
27 lines
849 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<object class="GtkAssistant" id="window1">
|
|
<child>
|
|
<object class="GtkAssistantPage">
|
|
<property name="title" translatable="yes">Page 1</property>
|
|
<property name="child">
|
|
<object class="GtkButton" id="button1">
|
|
<property name="label" translatable="yes">Button 1</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkAssistantPage">
|
|
<property name="title" translatable="yes">Page 2</property>
|
|
<property name="child">
|
|
<object class="GtkButton" id="button2">
|
|
<property name="label" translatable="yes">Button 2</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|