summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-19 01:41:59 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-19 01:41:59 +0100
commite2e45eb5558f3e43ca1fe901c8c94efdf2caef06 (patch)
treebc81930d1cf889819f637a7eb4ddf4b01610c9ad /libcaja-private
parent0ca18e1d5110c571d53afd631f0bad4d0097641e (diff)
downloadcaja-e2e45eb5558f3e43ca1fe901c8c94efdf2caef06.tar.bz2
caja-e2e45eb5558f3e43ca1fe901c8c94efdf2caef06.tar.xz
GTK3: don'use deprecated gtk_hseparator_new
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-column-chooser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcaja-private/caja-column-chooser.c b/libcaja-private/caja-column-chooser.c
index 42bd904e..c5ae9779 100644
--- a/libcaja-private/caja-column-chooser.c
+++ b/libcaja-private/caja-column-chooser.c
@@ -402,7 +402,11 @@ add_buttons (CajaColumnChooser *chooser)
gtk_box_pack_start (GTK_BOX (box), chooser->details->move_down_button,
FALSE, FALSE, 0);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
+#else
separator = gtk_hseparator_new ();
+#endif
gtk_widget_show (separator);
gtk_box_pack_start (GTK_BOX (box), separator, FALSE, FALSE, 0);