summaryrefslogtreecommitdiff
path: root/src/openfiles.cpp
diff options
context:
space:
mode:
authorElias Aebi <[email protected]>2013-11-21 17:35:20 +0100
committerElias Aebi <[email protected]>2013-11-21 17:35:20 +0100
commitcec5516cb84a7ecc9489a36cd19bfe28d1bba54e (patch)
tree57f472180ae1fb84be63be95e81611d656c5c787 /src/openfiles.cpp
parent11c4069c618a6253db551fa5300b0ee5fc4f5de6 (diff)
downloadmate-system-monitor-cec5516cb84a7ecc9489a36cd19bfe28d1bba54e.tar.bz2
mate-system-monitor-cec5516cb84a7ecc9489a36cd19bfe28d1bba54e.tar.xz
add support for GTK3
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));