Use an GtkImage instead of GtkArrow

GtkArrow is deprecated, and the recommended replacement
is GtkImage.
This commit is contained in:
Matthias Clasen 2016-01-29 13:21:01 -05:00
parent 866193f6af
commit 8219a6b226
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
@import "reset-to-defaults.css";
* {
color: lime;
-gtk-icon-source: url("green-20x20.png");
min-width: 16px;
min-height: 16px;

View File

@ -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>