summaryrefslogtreecommitdiff
path: root/plugins/spell
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/spell')
-rwxr-xr-xplugins/spell/pluma-spell-language-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/spell/pluma-spell-language-dialog.c b/plugins/spell/pluma-spell-language-dialog.c
index f0fdfcaa..464a0cd7 100755
--- a/plugins/spell/pluma-spell-language-dialog.c
+++ b/plugins/spell/pluma-spell-language-dialog.c
@@ -139,7 +139,9 @@ create_dialog (PlumaSpellLanguageDialog *dlg,
NULL);
gtk_window_set_title (GTK_WINDOW (dlg), _("Set language"));
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
+#endif
gtk_window_set_modal (GTK_WINDOW (dlg), TRUE);
gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);