diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-01-22 01:55:20 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-22 01:55:20 +0100 |
commit | d99b7141da19a746a9329daece4a83704f0101b5 (patch) | |
tree | d410c9eb3aa0f8e4071ebe34238a819cef65093c /src/caja-spatial-window.c | |
parent | cc6a1d11d8903c3051d0af400559679cc5b4aed6 (diff) | |
download | caja-d99b7141da19a746a9329daece4a83704f0101b5.tar.bz2 caja-d99b7141da19a746a9329daece4a83704f0101b5.tar.xz |
GTK3 side-pane + spartial-window: don't use deprecated gtk_arrow_new ()
Diffstat (limited to 'src/caja-spatial-window.c')
-rw-r--r-- | src/caja-spatial-window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-spatial-window.c b/src/caja-spatial-window.c index 05082358..d2c79213 100644 --- a/src/caja-spatial-window.c +++ b/src/caja-spatial-window.c @@ -1062,7 +1062,11 @@ caja_spatial_window_init (CajaSpatialWindow *window) FALSE, FALSE, 0); gtk_widget_show (window->details->location_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_start (GTK_BOX (hbox), arrow, FALSE, FALSE, 0); gtk_widget_show (arrow); |