[gtk/matthiasc/for-master: 3/4] reftests: Fix the window-show-contents-on-map test



commit 56565b12d881a199d88befaf4ce81b9ac074a756
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Apr 26 09:16:25 2020 -0400

    reftests: Fix the window-show-contents-on-map test
    
    Despite the name, the test was not in fact showing
    contents on map anymore, since widgets are visible
    by default. Setting visible to FALSE makes the test
    work as expected again.

 testsuite/reftests/window-show-contents-on-map.ui | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/testsuite/reftests/window-show-contents-on-map.ui 
b/testsuite/reftests/window-show-contents-on-map.ui
index 89d56bbd68..ec617ace22 100644
--- a/testsuite/reftests/window-show-contents-on-map.ui
+++ b/testsuite/reftests/window-show-contents-on-map.ui
@@ -6,6 +6,7 @@
     <signal name="map" handler="gtk_widget_show" object="label1" after="yes" swapped="yes"/>
     <child>
       <object class="GtkLabel" id="label1">
+        <property name="visible">0</property>
         <property name="label" translatable="yes">This label is only shown when the window is mapped. So the 
window does its first size allocation without the label being visible and has to resize.</property>
         <property name="width_chars">20</property>
         <property name="wrap">1</property>


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