summaryrefslogtreecommitdiff
path: root/testsuite/reftests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-01-29 13:21:01 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-01-29 13:21:01 -0500
commit8219a6b2265bfe5db35cdfadbaf0abfad567e6e1 (patch)
tree6f4a8ff08b396d22703d7005d4c342ebf73ec700 /testsuite/reftests
parent866193f6afe48af258b48a4e384996cdf0a25781 (diff)
downloadgtk+-8219a6b2265bfe5db35cdfadbaf0abfad567e6e1.tar.gz
Use an GtkImage instead of GtkArrow
GtkArrow is deprecated, and the recommended replacement is GtkImage.
Diffstat (limited to 'testsuite/reftests')
-rw-r--r--testsuite/reftests/icon-vfuncs.css1
-rw-r--r--testsuite/reftests/icon-vfuncs.ui6
2 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/reftests/icon-vfuncs.css b/testsuite/reftests/icon-vfuncs.css
index ceee34ed31..624ba6b9a7 100644
--- a/testsuite/reftests/icon-vfuncs.css
+++ b/testsuite/reftests/icon-vfuncs.css
@@ -1,6 +1,7 @@
@import "reset-to-defaults.css";
* {
+ color: lime;
-gtk-icon-source: url("green-20x20.png");
min-width: 16px;
min-height: 16px;
diff --git a/testsuite/reftests/icon-vfuncs.ui b/testsuite/reftests/icon-vfuncs.ui
index 31a55fa400..8724dfa04d 100644
--- a/testsuite/reftests/icon-vfuncs.ui
+++ b/testsuite/reftests/icon-vfuncs.ui
@@ -107,11 +107,11 @@
</packing>
</child>
<child>
- <object class="GtkArrow" id="arrow1">
+ <object class="GtkImage" id="arrow1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="width_request">16</property>
- <property name="height_request">16</property>
+ <property name="icon_name">pan-down-symbolic</property>
+ <property name="icon_size">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>