[gtk/matthiasc/for-master: 4/6] testsuite: Test GtkFixed rewriting




commit 4bd829e3e189e42ab195171eb7f9c0d912558f61
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 1 17:32:47 2020 -0500

    testsuite: Test GtkFixed rewriting

 testsuite/tools/simplify-data-3to4/fixed.expected | 14 ++++++++++++++
 testsuite/tools/simplify-data-3to4/fixed.ui       | 16 ++++++++++++++++
 2 files changed, 30 insertions(+)
---
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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]