diff options
| author | Peng Wu <alexepico@gmail.com> | 2025-01-13 11:00:00 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2025-01-13 11:00:00 +0800 |
| commit | 0a5435fa28a88b853747f1ca6347213e6503d97d (patch) | |
| tree | e82570ab2feca8ec37d8ab21905ca4566082b804 | |
| parent | b0ce1ef904484642874bafad180ed3a805009cad (diff) | |
| download | ibus-libpinyin-0a5435fa28a88b853747f1ca6347213e6503d97d.tar.gz ibus-libpinyin-0a5435fa28a88b853747f1ca6347213e6503d97d.tar.xz ibus-libpinyin-0a5435fa28a88b853747f1ca6347213e6503d97d.zip | |
Fix PinyinProperties::propertyActivate method
| -rw-r--r-- | src/PYPinyinProperties.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PYPinyinProperties.cc b/src/PYPinyinProperties.cc index 34840c4..3f7f890 100644 --- a/src/PYPinyinProperties.cc +++ b/src/PYPinyinProperties.cc @@ -236,6 +236,7 @@ PinyinProperties::propertyActivate (const gchar *prop_name, guint prop_state) { return TRUE; } +#ifdef IBUS_BUILD_LUA_EXTENSION const int len = strlen("LuaConverter."); if (0 == strncmp (prop_name, "LuaConverter.", len)) { if (prop_state == PROP_STATE_CHECKED) { @@ -257,6 +258,7 @@ PinyinProperties::propertyActivate (const gchar *prop_name, guint prop_state) { return TRUE; } +#endif return FALSE; } |
