diff options
Diffstat (limited to 'lua/lua-plugin.c')
-rw-r--r-- | lua/lua-plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lua-plugin.c b/lua/lua-plugin.c index 7d16bb4..e2c68f2 100644 --- a/lua/lua-plugin.c +++ b/lua/lua-plugin.c @@ -148,9 +148,9 @@ gboolean ibus_engine_plugin_add_command(IBusEnginePlugin * plugin, lua_command_t lua_command_t new_command; lua_command_clone(command, &new_command); - g_array_append_val(priv->lua_commands, new_command); + g_array_append_val(lua_commands, new_command); /* Note: need to improve speed here? */ - g_array_sort(priv->lua_commands, compare_command); + g_array_sort(lua_commands, compare_command); return TRUE; } |