Lines 671-677
Link Here
|
671 |
spell_checker, e_spell_dictionary_get_code (dictionary)); |
671 |
spell_checker, e_spell_dictionary_get_code (dictionary)); |
672 |
g_return_if_fail (enchant_dict != NULL); |
672 |
g_return_if_fail (enchant_dict != NULL); |
673 |
|
673 |
|
674 |
enchant_dict_add_to_personal (enchant_dict, word, length); |
674 |
enchant_dict_add (enchant_dict, word, length); |
675 |
|
675 |
|
676 |
g_object_unref (spell_checker); |
676 |
g_object_unref (spell_checker); |
677 |
} |
677 |
} |
Lines 751-757
Link Here
|
751 |
suggestions = enchant_dict_suggest (enchant_dict, word, length, &count); |
751 |
suggestions = enchant_dict_suggest (enchant_dict, word, length, &count); |
752 |
for (ii = 0; ii < count; ii++) |
752 |
for (ii = 0; ii < count; ii++) |
753 |
list = g_list_prepend (list, g_strdup (suggestions[ii])); |
753 |
list = g_list_prepend (list, g_strdup (suggestions[ii])); |
754 |
enchant_dict_free_suggestions (enchant_dict, suggestions); |
754 |
enchant_dict_free_string_list (enchant_dict, suggestions); |
755 |
|
755 |
|
756 |
g_object_unref (spell_checker); |
756 |
g_object_unref (spell_checker); |
757 |
|
757 |
|