diff options
author | Reuben Thomas <rrt@sc3d.org> | 2016-12-18 17:38:26 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2017-02-09 00:28:24 +0000 |
commit | 744a1a19c1d0a5c3e1359fa994cf60a4d98ee12e (patch) | |
tree | 5ff944af0bff57533a52a048d23f57c6bbee1bd9 /src/enchant.c | |
parent | d1b5e1075dbbcfa990d5640ef7b646a12e6c5e82 (diff) | |
download | enchant-744a1a19c1d0a5c3e1359fa994cf60a4d98ee12e.tar.gz |
Remove deprecated APIs
Diffstat (limited to 'src/enchant.c')
-rw-r--r-- | src/enchant.c | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/enchant.c b/src/enchant.c index 9f127f4..346587c 100644 --- a/src/enchant.c +++ b/src/enchant.c @@ -1066,36 +1066,6 @@ enchant_dict_add (EnchantDict * dict, const char *const word, } /** - * enchant_dict_add_to_pwl - * @dict: A non-null #EnchantDict - * @word: The non-null word you wish to add to your personal dictionary, in UTF-8 encoding - * @len: The byte length of @word, or -1 for strlen (@word) - * - * DEPRECATED. Please use enchant_dict_add() instead. - */ -ENCHANT_MODULE_EXPORT (void) -enchant_dict_add_to_pwl (EnchantDict * dict, const char *const word, - ssize_t len) -{ - enchant_dict_add(dict,word,len); -} - -/** - * enchant_dict_add_to_personal - * @dict: A non-null #EnchantDict - * @word: The non-null word you wish to add to your personal dictionary, in UTF-8 encoding - * @len: The byte length of @word, or -1 for strlen (@word) - * - * DEPRECATED. Please use enchant_dict_add() instead. - */ -ENCHANT_MODULE_EXPORT (void) -enchant_dict_add_to_personal (EnchantDict * dict, const char *const word, - ssize_t len) -{ - enchant_dict_add(dict, word, len); -} - -/** * enchant_dict_add_to_session * @dict: A non-null #EnchantDict * @word: The non-null word you wish to add to this spell-checking session, in UTF-8 encoding @@ -1153,21 +1123,6 @@ enchant_dict_is_added (EnchantDict * dict, const char *const word, } /** - * enchant_dict_is_in_session - * @dict: A non-null #EnchantDict - * @word: The word you wish to see if it's in your session in UTF8 encoding - * @len: the byte length of @word, or -1 for strlen (@word) - * - * DEPRECATED. Please use enchant_dict_is_added() instead. -*/ -ENCHANT_MODULE_EXPORT (int) -enchant_dict_is_in_session (EnchantDict * dict, const char *const word, - ssize_t len) -{ - return enchant_dict_is_added(dict, word, len); -} - -/** * enchant_dict_remove * @dict: A non-null #EnchantDict * @word: The non-null word you wish to add to your exclude dictionary and @@ -1317,21 +1272,6 @@ enchant_dict_free_string_list (EnchantDict * dict, char **string_list) } /** - * enchant_dict_free_suggestions - * @dict: A non-null #EnchantDict - * @suggestions: The non-null suggestion list returned by - * 'enchant_dict_suggest' - * - * Releases the suggestions - * This function is DEPRECATED. Please use enchant_dict_free_string_list() instead. - */ -ENCHANT_MODULE_EXPORT (void) -enchant_dict_free_suggestions (EnchantDict * dict, char **suggestions) -{ - enchant_dict_free_string_list (dict, suggestions); -} - -/** * enchant_dict_describe * @broker: A non-null #EnchantDict * @dict: A non-null #EnchantDictDescribeFn |