diff options
author | raveit65 <[email protected]> | 2016-05-30 17:21:26 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-05-30 17:21:26 +0200 |
commit | 3f63b98946169bf9f7b4013376113af5bc107605 (patch) | |
tree | 8cd7e428b85dd869f9bf28563cfc268764c888b9 /mate-dictionary | |
parent | 59becb34b8c0fa5bdec438c343ced318d238548c (diff) | |
download | mate-utils-3f63b98946169bf9f7b4013376113af5bc107605.tar.bz2 mate-utils-3f63b98946169bf9f7b4013376113af5bc107605.tar.xz |
Gtk+3 mdict sidebar: do not use derecated GtkArrow
taken from:
https://git.gnome.org/browse/gnome-dictionary/commit/?id=c60d8c8
Diffstat (limited to 'mate-dictionary')
-rw-r--r-- | mate-dictionary/src/gdict-sidebar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-dictionary/src/gdict-sidebar.c b/mate-dictionary/src/gdict-sidebar.c index c88aebb0..75e1d252 100644 --- a/mate-dictionary/src/gdict-sidebar.c +++ b/mate-dictionary/src/gdict-sidebar.c @@ -367,7 +367,11 @@ gdict_sidebar_init (GdictSidebar *sidebar) gtk_box_pack_start (GTK_BOX (select_hbox), priv->label, FALSE, FALSE, 0); gtk_widget_show (priv->label); +#if GTK_CHECK_VERSION (3, 0, 0) + arrow = gtk_image_new_from_icon_name ("go-down-symbolic", GTK_ICON_SIZE_BUTTON); +#else arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE); +#endif gtk_box_pack_end (GTK_BOX (select_hbox), arrow, FALSE, FALSE, 0); gtk_widget_show (arrow); |