summaryrefslogtreecommitdiff
path: root/plugins/spell/pluma-spell-checker.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/spell/pluma-spell-checker.c')
-rw-r--r--plugins/spell/pluma-spell-checker.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/spell/pluma-spell-checker.c b/plugins/spell/pluma-spell-checker.c
index d33bf92f..0bc5cd9f 100644
--- a/plugins/spell/pluma-spell-checker.c
+++ b/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);