Skip to content
Permalink
Browse files

Replace the deprecated enchant_dict_add_to_pwl with enchant_dict_add.

  • Loading branch information...
yetist authored and raveit65 committed Feb 17, 2019
1 parent 50a3efc commit 433317ad142e91179fbfce2ce9e24bfc24edb46c
Showing with 2 additions and 1 deletion.
  1. +2 −1 plugins/spell/pluma-spell-checker.c
@@ -433,7 +433,8 @@ pluma_spell_checker_add_word_to_personal (PlumaSpellChecker *spell,
if (len < 0)
len = strlen (word);

enchant_dict_add_to_pwl (spell->dict, word, len);
enchant_dict_add (spell->dict, word, len);


g_signal_emit (G_OBJECT (spell), signals[ADD_WORD_TO_PERSONAL], 0, word, len);

0 comments on commit 433317a

Please sign in to comment.
You can’t perform that action at this time.