spell-plugin: Update for removal of some deprecated functionality
enchant_dict_add_to_pwl () was removed from libenchant. Use it's replacement, enchant_dict_add () instead and bump our required version of libenchant. Closes https://github.com/linuxmint/xed/issues/198
This commit is contained in:
@@ -465,7 +465,7 @@ xed_spell_checker_add_word_to_personal (XedSpellChecker *spell,
|
||||
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);
|
||||
|
||||
|
Reference in New Issue
Block a user