diff options
author | Elias Aebi <[email protected]> | 2013-11-21 17:35:20 +0100 |
---|---|---|
committer | Elias Aebi <[email protected]> | 2013-11-21 17:35:20 +0100 |
commit | cec5516cb84a7ecc9489a36cd19bfe28d1bba54e (patch) | |
tree | 57f472180ae1fb84be63be95e81611d656c5c787 /src/openfiles.cpp | |
parent | 11c4069c618a6253db551fa5300b0ee5fc4f5de6 (diff) | |
download | mate-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.cpp | 2 |
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)); |