[gtk+] reftests: Make window size not influence test



commit 19fcd12177a53dbd5996f40290442db1fc95ebee
Author: Benjamin Otte <otte redhat com>
Date:   Tue May 7 13:46:51 2013 +0200

    reftests: Make window size not influence test
    
    The test is supposed to definitely wrap, make sure it does.

 tests/reftests/button-wrapping.ref.ui |    2 ++
 tests/reftests/button-wrapping.ui     |    5 +++++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/tests/reftests/button-wrapping.ref.ui b/tests/reftests/button-wrapping.ref.ui
index e550c56..c992a49 100644
--- a/tests/reftests/button-wrapping.ref.ui
+++ b/tests/reftests/button-wrapping.ref.ui
@@ -2,6 +2,8 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
+    <property name="height_request">500</property>
+    <property name="width_request">500</property>
     <property name="can_focus">False</property>
     <property name="type">popup</property>
     <child>
diff --git a/tests/reftests/button-wrapping.ui b/tests/reftests/button-wrapping.ui
index a901702..957785c 100644
--- a/tests/reftests/button-wrapping.ui
+++ b/tests/reftests/button-wrapping.ui
@@ -2,6 +2,8 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
+    <property name="height_request">500</property>
+    <property name="width_request">500</property>
     <property name="can_focus">False</property>
     <property name="type">popup</property>
     <child>
@@ -194,6 +196,9 @@
             <property name="position">3</property>
           </packing>
         </child>
+        <child>
+          <placeholder/>
+        </child>
       </object>
     </child>
   </object>


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