summaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-05-18 14:56:01 +0800
committerPeng Wu <alexepico@gmail.com>2010-05-19 10:09:33 +0800
commitf5a9d67dbcd11d289c84ed8cbd5dee82d0f6afe4 (patch)
tree3dbfab83e228138b6c1ec7984d3891e44323b2a8 /lua
parentf29d0e8c70bd9a7744be7dfe3e79a71e20f07f05 (diff)
downloadibus-libpinyin-f5a9d67dbcd11d289c84ed8cbd5dee82d0f6afe4.tar.gz
ibus-libpinyin-f5a9d67dbcd11d289c84ed8cbd5dee82d0f6afe4.tar.xz
ibus-libpinyin-f5a9d67dbcd11d289c84ed8cbd5dee82d0f6afe4.zip
rename ibus_engine_plugin_free.
Diffstat (limited to 'lua')
-rw-r--r--lua/lua-plugin.c2
-rw-r--r--lua/lua-plugin.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/lua-plugin.c b/lua/lua-plugin.c
index 5e52620..7d16bb4 100644
--- a/lua/lua-plugin.c
+++ b/lua/lua-plugin.c
@@ -283,7 +283,7 @@ GArray * ibus_engine_plugin_get_retvals(IBusEnginePlugin * plugin){
return result;
}
-void ibus_engine_plugin_free(lua_command_candidate_t * candidate){
+void ibus_engine_plugin_free_candidate(lua_command_candidate_t * candidate){
g_free((gpointer)candidate->content);
g_free((gpointer)candidate->suggest);
g_free((gpointer)candidate->help);
diff --git a/lua/lua-plugin.h b/lua/lua-plugin.h
index 9ca3661..86e5dee 100644
--- a/lua/lua-plugin.h
+++ b/lua/lua-plugin.h
@@ -109,5 +109,5 @@ const lua_command_candidate_t * ibus_engine_plugin_get_retval(IBusEnginePlugin *
*/
GArray * ibus_engine_plugin_get_retvals(IBusEnginePlugin * plugin);
-void ibus_engine_plugin_free(lua_command_candidate_t * candidate);
+void ibus_engine_plugin_free_candidate(lua_command_candidate_t * candidate);
#endif