summaryrefslogtreecommitdiffstats
path: root/src/PYEngine.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-12-12 12:38:21 +0800
committerPeng Wu <alexepico@gmail.com>2013-12-12 12:38:27 +0800
commite6ea82938c6f06d03109da94da6f313c399737e6 (patch)
tree941f0fcfaa4baef41bb1fd7fd061c0c73404eac9 /src/PYEngine.cc
parent5e6708be79ff90cf483bfc66e30437d5019404a0 (diff)
downloadibus-libpinyin-e6ea82938c6f06d03109da94da6f313c399737e6.tar.gz
ibus-libpinyin-e6ea82938c6f06d03109da94da6f313c399737e6.tar.xz
ibus-libpinyin-e6ea82938c6f06d03109da94da6f313c399737e6.zip
drop IBUS_BUILD_LIBPINYIN macro
Diffstat (limited to 'src/PYEngine.cc')
-rw-r--r--src/PYEngine.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/PYEngine.cc b/src/PYEngine.cc
index 487ad6e..68260dd 100644
--- a/src/PYEngine.cc
+++ b/src/PYEngine.cc
@@ -166,7 +166,6 @@ ibus_pinyin_engine_constructor (GType type,
name = ibus_engine_get_name ((IBusEngine *) engine);
if (name) {
-#ifdef IBUS_BUILD_LIBPINYIN
if (std::strcmp (name, "libpinyin") == 0 ||
std::strcmp (name, "libpinyin-debug") == 0) {
engine->engine = new LibPinyinPinyinEngine (IBUS_ENGINE (engine));
@@ -175,7 +174,6 @@ ibus_pinyin_engine_constructor (GType type,
std::strcmp (name, "libbopomofo-debug") == 0 ) {
engine->engine = new LibPinyinBopomofoEngine (IBUS_ENGINE (engine));
}
-#endif
} else {
engine->engine = new LibPinyinPinyinEngine (IBUS_ENGINE (engine));
}