diff options
author | Peng Wu <alexepico@gmail.com> | 2010-05-18 14:57:15 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2010-05-19 10:09:33 +0800 |
commit | 5dba4f1d3e7eb38c85d550d71f36f63c5b17496a (patch) | |
tree | 2e447e2b51c708ca35716dc70c609b4e507030ab /src | |
parent | f5a9d67dbcd11d289c84ed8cbd5dee82d0f6afe4 (diff) | |
download | ibus-pinyin-5dba4f1d3e7eb38c85d550d71f36f63c5b17496a.tar.gz |
rename ibus_engine_plugin_free part 2.
Diffstat (limited to 'src')
-rw-r--r-- | src/ExtEditor.cc | 4 |
1 files 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); |