diff options
author | Stefano Karapetsas <[email protected]> | 2013-11-23 07:42:37 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-11-23 07:42:37 -0800 |
commit | 43414fec3d31d10c8ca2c9fa227b7e4a75500719 (patch) | |
tree | dc02ba832518d84d7c1ae7a2d3ab65f076708ce6 /src/openfiles.cpp | |
parent | 77940a42279f216e9707223e7f3320f13cb8d500 (diff) | |
parent | cec5516cb84a7ecc9489a36cd19bfe28d1bba54e (diff) | |
download | mate-system-monitor-43414fec3d31d10c8ca2c9fa227b7e4a75500719.tar.bz2 mate-system-monitor-43414fec3d31d10c8ca2c9fa227b7e4a75500719.tar.xz |
Merge pull request #29 from eyelash/gtk3
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)); |