diff options
author | Peng Wu <alexepico@gmail.com> | 2018-10-31 13:18:22 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2018-10-31 13:18:22 +0800 |
commit | 0401ff95be8f8b906d7a79feded7482c4172b28f (patch) | |
tree | 3492205b93ab05e53b3fcd20c3f7b24f639283c1 /src/PYPPhoneticEditor.cc | |
parent | 17ec73fad0f05cb23c2213ddc0ec2b798bbe6ab3 (diff) | |
download | ibus-libpinyin-0401ff95be8f8b906d7a79feded7482c4172b28f.tar.gz ibus-libpinyin-0401ff95be8f8b906d7a79feded7482c4172b28f.tar.xz ibus-libpinyin-0401ff95be8f8b906d7a79feded7482c4172b28f.zip |
fixes lua build1.10.92
Diffstat (limited to 'src/PYPPhoneticEditor.cc')
-rw-r--r-- | src/PYPPhoneticEditor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PYPPhoneticEditor.cc b/src/PYPPhoneticEditor.cc index 00c4f64..e39b6ba 100644 --- a/src/PYPPhoneticEditor.cc +++ b/src/PYPPhoneticEditor.cc @@ -45,15 +45,15 @@ PhoneticEditor::PhoneticEditor (PinyinProperties &props, PhoneticEditor::~PhoneticEditor (){ } +#ifdef IBUS_BUILD_LUA_EXTENSION gboolean PhoneticEditor::setLuaPlugin (IBusEnginePlugin *plugin) { -#ifdef IBUS_BUILD_LUA_EXTENSION m_lua_trigger_candidates.setLuaPlugin (plugin); m_lua_converter_candidates.setLuaPlugin (plugin); -#endif return TRUE; } +#endif gboolean PhoneticEditor::processSpace (guint keyval, guint keycode, |