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:
parent
a5af28a95d
commit
0a25600883
|
@ -94,7 +94,7 @@ dnl ================================================================
|
|||
dnl spell plugins checks: enchant and iso-codes
|
||||
dnl ================================================================
|
||||
|
||||
ENCHANT_REQUIRED=1.2.0
|
||||
ENCHANT_REQUIRED=1.6.0
|
||||
ISO_CODES_REQUIRED=0.35
|
||||
|
||||
AC_ARG_ENABLE([spell],
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue