[gtk+] Use an GtkImage instead of GtkArrow
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Use an GtkImage instead of GtkArrow
- Date: Fri, 29 Jan 2016 18:23:47 +0000 (UTC)
commit 8219a6b2265bfe5db35cdfadbaf0abfad567e6e1
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jan 29 13:21:01 2016 -0500
Use an GtkImage instead of GtkArrow
GtkArrow is deprecated, and the recommended replacement
is GtkImage.
testsuite/reftests/icon-vfuncs.css | 1 +
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 ceee34e..624ba6b 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 31a55fa..8724dfa 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]