From 5dba4f1d3e7eb38c85d550d71f36f63c5b17496a Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 18 May 2010 14:57:15 +0800 Subject: [PATCH] rename ibus_engine_plugin_free part 2. --- src/ExtEditor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ExtEditor.cc b/src/ExtEditor.cc index 297c819..db95324 100644 --- a/src/ExtEditor.cc +++ b/src/ExtEditor.cc @@ -278,7 +278,7 @@ ExtEditor::fillCommand(std::string command_name, const char * argument){ result += "]"; } - ibus_engine_plugin_free((lua_command_candidate_t *)candidate); + ibus_engine_plugin_free_candidate((lua_command_candidate_t *)candidate); m_lookup_table.appendCandidate(Text(result)); }else if (result_num > 1){ GArray * candidates = ibus_engine_plugin_get_retvals(m_lua_plugin); @@ -295,7 +295,7 @@ ExtEditor::fillCommand(std::string command_name, const char * argument){ result += candidate->help; result += "]"; } - ibus_engine_plugin_free((lua_command_candidate_t *)candidate); + ibus_engine_plugin_free_candidate((lua_command_candidate_t *)candidate); m_lookup_table.appendCandidate(Text(result)); } g_array_free(candidates, TRUE); -- 2.7.4