summaryrefslogtreecommitdiff
path: root/src/openfiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openfiles.cpp')
-rw-r--r--src/openfiles.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openfiles.cpp b/src/openfiles.cpp
index 7bce479..2047e21 100644
--- a/src/openfiles.cpp
+++ b/src/openfiles.cpp
@@ -336,7 +336,9 @@ create_single_openfiles_dialog (GtkTreeModel *model, GtkTreePath *path,
NULL);
gtk_window_set_resizable (GTK_WINDOW (openfilesdialog), TRUE);
gtk_window_set_default_size (GTK_WINDOW (openfilesdialog), 575, 400);
+#if !GTK_CHECK_VERSION(2,22,0)
g_object_set(G_OBJECT(openfilesdialog), "has-separator", FALSE, NULL);
+#endif
gtk_container_set_border_width (GTK_CONTAINER (openfilesdialog), 5);
vbox = gtk_dialog_get_content_area (GTK_DIALOG (openfilesdialog));