[gtk/bin-removal] Add a test for bin child conversion
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/bin-removal] Add a test for bin child conversion
- Date: Fri, 1 May 2020 22:10:48 +0000 (UTC)
commit 7c75fe3cc1b41875799a63e2b1cc1fefea057aa2
Author: Matthias Clasen <mclasen redhat com>
Date: Fri May 1 18:06:57 2020 -0400
Add a test for bin child conversion
testsuite/tools/simplify-data-3to4/bin.expected | 15 +++++++++++++++
testsuite/tools/simplify-data-3to4/bin.ui | 13 +++++++++++++
2 files changed, 28 insertions(+)
---
diff --git a/testsuite/tools/simplify-data-3to4/bin.expected b/testsuite/tools/simplify-data-3to4/bin.expected
new file mode 100644
index 0000000000..52b3f1c633
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/bin.expected
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <object class="GtkFrame">
+ <property name="visible">0</property>
+ <property name="label">bla</property>
+ <child>
+ <object class="GtkGestureClick"/>
+ </child>
+ <property name="child">
+ <object class="GtkButton">
+ <property name="visible">0</property>
+ </object>
+ </property>
+ </object>
+</interface>
diff --git a/testsuite/tools/simplify-data-3to4/bin.ui b/testsuite/tools/simplify-data-3to4/bin.ui
new file mode 100644
index 0000000000..59aa761948
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/bin.ui
@@ -0,0 +1,13 @@
+<interface>
+ <object class="GtkFrame">
+ <property name="label">bla</property>
+ <child>
+ <object class="GtkGestureClick">
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton">
+ </object>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]