diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-01-29 13:21:01 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-01-29 13:21:01 -0500 |
commit | 8219a6b2265bfe5db35cdfadbaf0abfad567e6e1 (patch) | |
tree | 6f4a8ff08b396d22703d7005d4c342ebf73ec700 /testsuite/reftests | |
parent | 866193f6afe48af258b48a4e384996cdf0a25781 (diff) | |
download | gtk+-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.css | 1 | ||||
-rw-r--r-- | testsuite/reftests/icon-vfuncs.ui | 6 |
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> |