summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-05-18 14:57:15 +0800
committerPeng Wu <alexepico@gmail.com>2010-05-19 10:09:33 +0800
commit5dba4f1d3e7eb38c85d550d71f36f63c5b17496a (patch)
tree2e447e2b51c708ca35716dc70c609b4e507030ab /src
parentf5a9d67dbcd11d289c84ed8cbd5dee82d0f6afe4 (diff)
downloadibus-pinyin-5dba4f1d3e7eb38c85d550d71f36f63c5b17496a.tar.gz
rename ibus_engine_plugin_free part 2.
Diffstat (limited to 'src')
-rw-r--r--src/ExtEditor.cc4
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);