[gtk/matthiasc/for-master: 17/24] reftests: Fix the window-show-contents-on-map test
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 17/24] reftests: Fix the window-show-contents-on-map test
- Date: Sun, 26 Apr 2020 16:21:42 +0000 (UTC)
commit 2571a2af18d23ac46d56a5a9c8de0e1db5bdc1fc
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]