Skip to content

Commit d06ae0b

Browse files
[GTK] Build failure with enchant-2.1.1
https://bugs.webkit.org/show_bug.cgi?id=176877 Unreviewed build fix for enchant 2.1.1. enchant_dict_free_suggestions() has been deprecated since at least 2005. Use its replacement, enchant_dict_free_string_list(), instead. That's also been around since at least 2005. * platform/text/enchant/TextCheckerEnchant.cpp: (WebCore::TextCheckerEnchant::getGuessesForWord): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@222130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 01d85da commit d06ae0b

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

Source/WebCore/ChangeLog

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2017-09-16 Michael Catanzaro <[email protected]>
2+
3+
[GTK] Build failure with enchant-2.1.1
4+
https://bugs.webkit.org/show_bug.cgi?id=176877
5+
6+
Unreviewed build fix for enchant 2.1.1.
7+
8+
enchant_dict_free_suggestions() has been deprecated since at least 2005. Use its
9+
replacement, enchant_dict_free_string_list(), instead. That's also been around since at
10+
least 2005.
11+
12+
* platform/text/enchant/TextCheckerEnchant.cpp:
13+
(WebCore::TextCheckerEnchant::getGuessesForWord):
14+
115
2017-09-16 Antti Koivisto <[email protected]>
216

317
Computing animated style should not require renderers

Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Vector<String> TextCheckerEnchant::getGuessesForWord(const String& word)
129129
for (i = 0; i < numberOfSuggestions; i++)
130130
guesses.append(String::fromUTF8(suggestions[i]));
131131

132-
enchant_dict_free_suggestions(dictionary, suggestions);
132+
enchant_dict_free_string_list(dictionary, suggestions);
133133
}
134134

135135
return guesses;

0 commit comments

Comments
 (0)