summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2010-04-05 17:24:14 +0800
committerPeng Huang <shawn.p.huang@gmail.com>2010-04-05 17:25:00 +0800
commit0ec8339d6ee6984b491ddde78e6f0b3fc4fa97da (patch)
tree09b9244b88d708f205aa01f0e0e283668e5e9b58
parentf87705de00c5acd669957f002d38fd3c8d8e28a0 (diff)
downloadibus-pinyin-0ec8339d6ee6984b491ddde78e6f0b3fc4fa97da.tar.gz
Use update_lookup_table_fast
-rw-r--r--src/PinyinEditor.cc2
-rw-r--r--src/PinyinEngine.cc4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/PinyinEditor.cc b/src/PinyinEditor.cc
index 3f45127..6859711 100644
--- a/src/PinyinEditor.cc
+++ b/src/PinyinEditor.cc
@@ -491,7 +491,7 @@ PinyinEditor::updateLookupTable (void)
m_lookup_table.setOrientation (Config::orientation ());
if (fillLookupTableByPage ()) {
- Editor::updateLookupTableFast (m_lookup_table, TRUE);
+ Editor::updateLookupTable (m_lookup_table, TRUE);
}
else {
hideLookupTable ();
diff --git a/src/PinyinEngine.cc b/src/PinyinEngine.cc
index 71c59a8..bda3d58 100644
--- a/src/PinyinEngine.cc
+++ b/src/PinyinEngine.cc
@@ -249,11 +249,7 @@ PinyinEngine::slotUpdateLookupTable (LookupTable & table, gboolean visible)
void
PinyinEngine::slotUpdateLookupTableFast (LookupTable & table, gboolean visible)
{
-#if 0
ibus_engine_update_lookup_table_fast (m_engine, table, visible);
-#else
- ibus_engine_update_lookup_table (m_engine, table, visible);
-#endif
}
void