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 87df43f commit 73e0a823b1c040beb68bc48b8279bcef11115a3f
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 73e0a82

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