[gtk/kill-popup-windows: 9/13] reftests: Fix css-match-name



commit 8dcc1f84f65b8b297fe988b67657e5717c291c1f
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 8 21:05:44 2020 -0500

    reftests: Fix css-match-name
    
    This test was torpedoed by the default size of windows without
    content being 200x200. Don't fight it.

 testsuite/reftests/css-match-name.ref.ui | 4 ++++
 testsuite/reftests/css-match-name.ui     | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/testsuite/reftests/css-match-name.ref.ui b/testsuite/reftests/css-match-name.ref.ui
index 150587165b..0760efc8e4 100644
--- a/testsuite/reftests/css-match-name.ref.ui
+++ b/testsuite/reftests/css-match-name.ref.ui
@@ -1,8 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <object class="GtkWindow" id="window1">
+    <property name="default-width">200</property>
+    <property name="default-height">200</property>
+    <property name="resizable">0</property>
     <child>
       <object class="GtkPicture">
+        <property name="keep-aspect-ratio">0</property>
         <property name="paintable">green-20x20.png</property>
       </object>
     </child>
diff --git a/testsuite/reftests/css-match-name.ui b/testsuite/reftests/css-match-name.ui
index 8e4e4f6bac..30ee29744c 100644
--- a/testsuite/reftests/css-match-name.ui
+++ b/testsuite/reftests/css-match-name.ui
@@ -1,8 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <object class="GtkWindow" id="window1">
-    <property name="width_request">20</property>
-    <property name="height_request">20</property>
+    <property name="default-width">200</property>
+    <property name="default-height">200</property>
+    <property name="resizable">0</property>
     <property name="name">window</property>
     <style>
       <class name="window"/>


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