diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-27 10:47:15 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-27 10:47:15 +0800 |
commit | 9d175347f6bbe6b1655c34fee71fb7aad3b24e31 (patch) | |
tree | 230aa7c2de593792f89d2e6b27949dee0c8de285 /src/PYConfig.cc | |
parent | 163b21e23f0621e6cfaf424b914aa33bda891294 (diff) | |
download | ibus-libpinyin-9d175347f6bbe6b1655c34fee71fb7aad3b24e31.tar.gz ibus-libpinyin-9d175347f6bbe6b1655c34fee71fb7aad3b24e31.tar.xz ibus-libpinyin-9d175347f6bbe6b1655c34fee71fb7aad3b24e31.zip |
fixes PYConfig
Diffstat (limited to 'src/PYConfig.cc')
-rw-r--r-- | src/PYConfig.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/PYConfig.cc b/src/PYConfig.cc index 47a7a7e..6241647 100644 --- a/src/PYConfig.cc +++ b/src/PYConfig.cc @@ -23,9 +23,6 @@ #include "PYTypes.h" #include "PYBus.h" #include "PYDoublePinyinTable.h" -#ifdef IBUS_BUILD_LIBPINYIN -#include "PYLibPinyin.h" -#endif namespace PY { @@ -341,12 +338,6 @@ Config::valueChangedCallback (IBusConfig *config, self->valueChanged (section, name, value); if (self->m_section != section) return; -#ifdef IBUS_BUILD_LIBPINYIN - if (self->m_section == "engine/Pinyin") - LibPinyinBackEnd::instance ().setPinyinOptions (self); - if (self->m_section == "engine/Bopomofo") - LibPinyinBackEnd::instance ().setChewingOptions (self); -#endif } static const struct { |