diff options
Diffstat (limited to 'meson/test cases/vala/14 target glib version and gresources/gres')
3 files changed, 28 insertions, 0 deletions
diff --git a/meson/test cases/vala/14 target glib version and gresources/gres/meson.build b/meson/test cases/vala/14 target glib version and gresources/gres/meson.build new file mode 100644 index 000000000..f222a0095 --- /dev/null +++ b/meson/test cases/vala/14 target glib version and gresources/gres/meson.build @@ -0,0 +1,3 @@ +res = gnome.compile_resources('testui', + 'test-resources.xml', + source_dir : '.') diff --git a/meson/test cases/vala/14 target glib version and gresources/gres/test-resources.xml b/meson/test cases/vala/14 target glib version and gresources/gres/test-resources.xml new file mode 100644 index 000000000..4e8a73f61 --- /dev/null +++ b/meson/test cases/vala/14 target glib version and gresources/gres/test-resources.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<gresources> + <gresource prefix="/org/Meson"> + <file compressed="true" preprocess="xml-stripblanks">test.ui</file> + </gresource> +</gresources> diff --git a/meson/test cases/vala/14 target glib version and gresources/gres/test.ui b/meson/test cases/vala/14 target glib version and gresources/gres/test.ui new file mode 100644 index 000000000..f90d941ff --- /dev/null +++ b/meson/test cases/vala/14 target glib version and gresources/gres/test.ui @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.8 --> + <template class="TestWidget" parent="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">4</property> + <child> + <object class="GtkEntry" id="entry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + <packing> + <property name="position">0</property> + </packing> + </child> + </template> +</interface> |