summaryrefslogtreecommitdiff
path: root/testsuite/tools
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-11-01 17:32:47 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-11-01 23:09:26 -0500
commit4bd829e3e189e42ab195171eb7f9c0d912558f61 (patch)
tree617020573032cf7fd661fe3f57cd8eb274b48c3b /testsuite/tools
parent38f74d8a23223e3467e368ebc6b601d26449a690 (diff)
downloadgtk+-4bd829e3e189e42ab195171eb7f9c0d912558f61.tar.gz
testsuite: Test GtkFixed rewriting
Diffstat (limited to 'testsuite/tools')
-rw-r--r--testsuite/tools/simplify-data-3to4/fixed.expected14
-rw-r--r--testsuite/tools/simplify-data-3to4/fixed.ui16
2 files changed, 30 insertions, 0 deletions
diff --git a/testsuite/tools/simplify-data-3to4/fixed.expected b/testsuite/tools/simplify-data-3to4/fixed.expected
new file mode 100644
index 0000000000..74953b12c6
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/fixed.expected
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <object class="GtkFixed">
+ <child>
+ <object class="GtkButton" id="button">
+ <layout>
+ <property name="transform">translate(10, 15)</property>
+ </layout>
+ <property name="visible">0</property>
+ </object>
+ </child>
+ </object>
+</interface>
diff --git a/testsuite/tools/simplify-data-3to4/fixed.ui b/testsuite/tools/simplify-data-3to4/fixed.ui
new file mode 100644
index 0000000000..699bea2e07
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/fixed.ui
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.22.2 -->
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <object class="GtkFixed">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkButton" id="button">
+ </object>
+ <packing>
+ <property name="x">10</property>
+ <property name="y">15</property>
+ </packing>
+ </child>
+ </object>
+</interface>