[gtk+] reftests: Add reftest for latest warning fix



commit bef1a5d7207ab6bf46cdc8e4870b7e44acaea728
Author: Benjamin Otte <otte redhat com>
Date:   Thu Jan 17 00:45:14 2013 +0100

    reftests: Add reftest for latest warning fix

 tests/reftests/Makefile.am                    |    2 +
 tests/reftests/treeview-headers-hidden.ref.ui |   45 +++++++++++++++++++++++++
 tests/reftests/treeview-headers-hidden.ui     |   45 +++++++++++++++++++++++++
 3 files changed, 92 insertions(+), 0 deletions(-)
---
diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am
index c76fb3b..6bec9a9 100644
--- a/tests/reftests/Makefile.am
+++ b/tests/reftests/Makefile.am
@@ -250,6 +250,8 @@ EXTRA_DIST += \
 	style-properties-only-child.ui \
 	toplevel-vs-popup.ref.ui \
 	toplevel-vs-popup.ui \
+	treeview-headers-hidden.ref.ui \
+	treeview-headers-hidden.ui \
 	unresolvable.css \
 	unresolvable.ref.ui \
 	unresolvable.ui \
diff --git a/tests/reftests/treeview-headers-hidden.ref.ui b/tests/reftests/treeview-headers-hidden.ref.ui
new file mode 100644
index 0000000..6ee254c
--- /dev/null
+++ b/tests/reftests/treeview-headers-hidden.ref.ui
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkListStore" id="liststore1">
+    <columns>
+      <!-- column-name Name -->
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes">YOLO</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes">swag</col>
+      </row>
+    </data>
+  </object>
+  <object class="GtkWindow" id="window">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkTreeView" id="treeview1">
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="model">liststore1</property>
+        <property name="headers-visible">False</property>
+        <child internal-child="selection">
+          <object class="GtkTreeSelection" id="treeview-selection"/>
+        </child>
+        <child>
+          <object class="GtkTreeViewColumn" id="treeviewcolumn1">
+            <property name="title" translatable="yes">Name</property>
+            <property name="sizing">autosize</property>
+            <child>
+              <object class="GtkCellRendererText" id="cellrenderertext1"/>
+              <attributes>
+                <attribute name="text">0</attribute>
+              </attributes>
+            </child>
+          </object>
+        </child>
+      </object>
+    </child>
+  </object>
+</interface>
diff --git a/tests/reftests/treeview-headers-hidden.ui b/tests/reftests/treeview-headers-hidden.ui
new file mode 100644
index 0000000..6ee254c
--- /dev/null
+++ b/tests/reftests/treeview-headers-hidden.ui
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkListStore" id="liststore1">
+    <columns>
+      <!-- column-name Name -->
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes">YOLO</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes">swag</col>
+      </row>
+    </data>
+  </object>
+  <object class="GtkWindow" id="window">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkTreeView" id="treeview1">
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="model">liststore1</property>
+        <property name="headers-visible">False</property>
+        <child internal-child="selection">
+          <object class="GtkTreeSelection" id="treeview-selection"/>
+        </child>
+        <child>
+          <object class="GtkTreeViewColumn" id="treeviewcolumn1">
+            <property name="title" translatable="yes">Name</property>
+            <property name="sizing">autosize</property>
+            <child>
+              <object class="GtkCellRendererText" id="cellrenderertext1"/>
+              <attributes>
+                <attribute name="text">0</attribute>
+              </attributes>
+            </child>
+          </object>
+        </child>
+      </object>
+    </child>
+  </object>
+</interface>



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