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.
25 lines
682 B
XML
25 lines
682 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<object class="GtkBox">
|
|
<style>
|
|
<class name="toolbar"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="label" translatable="yes">New</property>
|
|
<property name="icon-name">document-new</property>
|
|
<property name="tooltip-text" translatable="yes">Create a new document</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSeparator">
|
|
<property name="orientation">vertical</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleButton"/>
|
|
</child>
|
|
</object>
|
|
</interface>
|