mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 02:10:10 +00:00
Use an GtkImage instead of GtkArrow
GtkArrow is deprecated, and the recommended replacement is GtkImage.
This commit is contained in:
parent
866193f6af
commit
8219a6b226
@ -1,6 +1,7 @@
|
||||
@import "reset-to-defaults.css";
|
||||
|
||||
* {
|
||||
color: lime;
|
||||
-gtk-icon-source: url("green-20x20.png");
|
||||
min-width: 16px;
|
||||
min-height: 16px;
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user