summaryrefslogtreecommitdiff
path: root/plugins/spell/pluma-automatic-spell-checker.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-24 02:30:34 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-24 02:30:34 +0100
commit9e3170e4b8de9b2120168b6de310ba839dc12072 (patch)
tree7c1f45722e7264db2fbe5e0f0ce45d4998cdf8ac /plugins/spell/pluma-automatic-spell-checker.c
parent9d1bf65037d56ced8c3d4396902e83e286222914 (diff)
downloadpluma-9e3170e4b8de9b2120168b6de310ba839dc12072.tar.bz2
pluma-9e3170e4b8de9b2120168b6de310ba839dc12072.tar.xz
GTK3: fix previous GtkMisc deprecated commit
Diffstat (limited to 'plugins/spell/pluma-automatic-spell-checker.c')
-rw-r--r--plugins/spell/pluma-automatic-spell-checker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/spell/pluma-automatic-spell-checker.c b/plugins/spell/pluma-automatic-spell-checker.c
index f4de8835..95a83d5f 100644
--- a/plugins/spell/pluma-automatic-spell-checker.c
+++ b/plugins/spell/pluma-automatic-spell-checker.c
@@ -454,8 +454,8 @@ 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, 14, 0)
- gtk_widget_set_halign (label, GTK_ALIGN_START);
+#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