Skip to content

Commit 73e0a82

Browse files
yetistraveit65
authored andcommitted
Replace the deprecated enchant_dict_add_to_pwl with enchant_dict_add.
1 parent 87df43f commit 73e0a82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/spell/pluma-spell-checker.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ pluma_spell_checker_add_word_to_personal (PlumaSpellChecker *spell,
433433
if (len < 0)
434434
len = strlen (word);
435435

436-
enchant_dict_add_to_pwl (spell->dict, word, len);
436+
enchant_dict_add (spell->dict, word, len);
437+
437438

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

0 commit comments

Comments
 (0)