summaryrefslogtreecommitdiff
path: root/baobab/src/baobab-remote-connect-dialog.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-17 16:47:05 +0100
committerStefano Karapetsas <[email protected]>2014-01-17 16:47:05 +0100
commiteedf58acfc87ca3f7619a86971e9f8d8444afe4c (patch)
tree1ab342431a65f4500af10152f23a50e888d6ae0f /baobab/src/baobab-remote-connect-dialog.c
parent498029959d823be5c7bb8d725405d347a563d813 (diff)
downloadmate-utils-eedf58acfc87ca3f7619a86971e9f8d8444afe4c.tar.bz2
mate-utils-eedf58acfc87ca3f7619a86971e9f8d8444afe4c.tar.xz
baobab: Add GTK3 support
Diffstat (limited to 'baobab/src/baobab-remote-connect-dialog.c')
-rw-r--r--baobab/src/baobab-remote-connect-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/baobab/src/baobab-remote-connect-dialog.c b/baobab/src/baobab-remote-connect-dialog.c
index 2068936c..50faa2d7 100644
--- a/baobab/src/baobab-remote-connect-dialog.c
+++ b/baobab/src/baobab-remote-connect-dialog.c
@@ -641,7 +641,9 @@ baobab_remote_connect_dialog_init (BaobabRemoteConnectDialog *dialog)
dialog->details = g_new0 (BaobabRemoteConnectDialogDetails, 1);
gtk_window_set_title (GTK_WINDOW (dialog), _("Connect to Server"));
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
+#endif
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 2);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);