From ba88c34448a631f976351150a5f2fa4daec7cb95 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 2 Sep 2015 17:03:24 +0200 Subject: Gtk3: Stop deprecated GtkArrow usage Use a matching GtkImage instead Since gtkarrow scaling doesn't work in themes, the arrow displays almost to huge and looks ugly. taken from: https://git.gnome.org/browse/eog/commit/?id=096806f https://git.gnome.org/browse/eog/commit/?id=27fb212 --- src/eom-sidebar.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/eom-sidebar.c') diff --git a/src/eom-sidebar.c b/src/eom-sidebar.c index b6eaa8d..da3344e 100644 --- a/src/eom-sidebar.c +++ b/src/eom-sidebar.c @@ -446,7 +446,11 @@ eom_sidebar_init (EomSidebar *eom_sidebar) gtk_widget_show (eom_sidebar->priv->label); +#if GTK_CHECK_VERSION (3, 14, 0) + arrow = gtk_image_new_from_icon_name ("pan-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); -- cgit v1.2.1