From 9d175347f6bbe6b1655c34fee71fb7aad3b24e31 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 27 Dec 2011 10:47:15 +0800 Subject: fixes PYConfig --- src/PYConfig.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/PYConfig.cc') 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 { -- cgit