Skip to content


Browse files Browse the repository at this point in the history
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 87df43f commit 73e0a82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/spell/pluma-spell-checker.c
Expand Up @@ -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);

Expand Down

0 comments on commit 73e0a82

Please sign in to comment.