summaryrefslogtreecommitdiff
path: root/shell/ev-sidebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-sidebar.c')
-rw-r--r--shell/ev-sidebar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c
index d2ce9d9e..5a775a91 100644
--- a/shell/ev-sidebar.c
+++ b/shell/ev-sidebar.c
@@ -379,7 +379,11 @@ ev_sidebar_init (EvSidebar *ev_sidebar)
FALSE, FALSE, 0);
gtk_widget_show (ev_sidebar->priv->label);
+#if GTK_CHECK_VERSION (3, 0, 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);