summaryrefslogtreecommitdiff
path: root/plugins/spell/pluma-automatic-spell-checker.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 21:57:32 +0300
committerraveit65 <[email protected]>2018-01-30 15:54:42 +0100
commit34e5c2d98f8847644a3877ca2f732091661f9e6a (patch)
treec43b64949e5557b51142585d86f43d5c710e632f /plugins/spell/pluma-automatic-spell-checker.c
parentced0b3913385748b6490a4215d7cc9a1681bca77 (diff)
downloadpluma-34e5c2d98f8847644a3877ca2f732091661f9e6a.tar.bz2
pluma-34e5c2d98f8847644a3877ca2f732091661f9e6a.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'plugins/spell/pluma-automatic-spell-checker.c')
-rw-r--r--plugins/spell/pluma-automatic-spell-checker.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/spell/pluma-automatic-spell-checker.c b/plugins/spell/pluma-automatic-spell-checker.c
index 95a83d5f..76d4be96 100644
--- a/plugins/spell/pluma-automatic-spell-checker.c
+++ b/plugins/spell/pluma-automatic-spell-checker.c
@@ -454,11 +454,7 @@ build_suggestion_menu (PlumaAutomaticSpellChecker *spell, const gchar *word)
label = gtk_label_new (label_text);
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
-#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
-#else
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
-#endif
mi = gtk_menu_item_new ();
gtk_container_add (GTK_CONTAINER(mi), label);