summaryrefslogtreecommitdiff
path: root/src/caja-side-pane.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-22 01:55:20 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-22 01:55:20 +0100
commitd99b7141da19a746a9329daece4a83704f0101b5 (patch)
treed410c9eb3aa0f8e4071ebe34238a819cef65093c /src/caja-side-pane.c
parentcc6a1d11d8903c3051d0af400559679cc5b4aed6 (diff)
downloadcaja-d99b7141da19a746a9329daece4a83704f0101b5.tar.bz2
caja-d99b7141da19a746a9329daece4a83704f0101b5.tar.xz
GTK3 side-pane + spartial-window: don't use deprecated gtk_arrow_new ()
Diffstat (limited to 'src/caja-side-pane.c')
-rw-r--r--src/caja-side-pane.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-side-pane.c b/src/caja-side-pane.c
index c1a6a959..ae84242e 100644
--- a/src/caja-side-pane.c
+++ b/src/caja-side-pane.c
@@ -353,7 +353,11 @@ caja_side_pane_init (GObject *object)
side_pane->details->title_label,
FALSE, FALSE, 0);
+#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_widget_show (arrow);
gtk_box_pack_end (GTK_BOX (select_hbox), arrow, FALSE, FALSE, 0);