summaryrefslogtreecommitdiff
path: root/baobab/src/baobab-remote-connect-dialog.c
diff options
context:
space:
mode:
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);