[gtk/wip/otte/reftests: 2/6] reftests: Fix css-match-class test



commit a7fc8db8a73339112f8d2f300f8eb546fc67deda
Author: Benjamin Otte <otte redhat com>
Date:   Thu Mar 28 00:24:44 2019 +0100

    reftests: Fix css-match-class test
    
    - Replace GtkImage::pixbuf with GtkImage::paintable
    - Use a GtkPicture so the sizing is correct

 testsuite/reftests/css-match-class.ref.ui | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/testsuite/reftests/css-match-class.ref.ui b/testsuite/reftests/css-match-class.ref.ui
index d8d31c3e93..65fe67e5f1 100644
--- a/testsuite/reftests/css-match-class.ref.ui
+++ b/testsuite/reftests/css-match-class.ref.ui
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
-  <object class="GtkWindow" id="window1">
+  <object class="GtkWindow">
     <property name="can_focus">False</property>
     <property name="type">popup</property>
     <child>
-      <object class="GtkImage" id="image1">
+      <object class="GtkPicture">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="pixbuf">green-20x20.png</property>
+        <property name="paintable">green-20x20.png</property>
       </object>
     </child>
   </object>


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