diff options
author | Peng Wu <alexepico@gmail.com> | 2014-04-30 14:44:50 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2014-04-30 14:44:50 +0800 |
commit | 75d93134d87be3a51b61162dffa99d16b162904e (patch) | |
tree | 70289e5c2a1aec731ff6044fe0178f53506b7667 /src/ZYZZhuyinEditor.cc | |
parent | 07a94cda1fdd34efe3d468a1c4ec901b2fb51477 (diff) | |
download | ibus-libzhuyin-75d93134d87be3a51b61162dffa99d16b162904e.tar.gz ibus-libzhuyin-75d93134d87be3a51b61162dffa99d16b162904e.tar.xz ibus-libzhuyin-75d93134d87be3a51b61162dffa99d16b162904e.zip |
fixes compile
Diffstat (limited to 'src/ZYZZhuyinEditor.cc')
-rw-r--r-- | src/ZYZZhuyinEditor.cc | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/ZYZZhuyinEditor.cc b/src/ZYZZhuyinEditor.cc index 5892918..20671c8 100644 --- a/src/ZYZZhuyinEditor.cc +++ b/src/ZYZZhuyinEditor.cc @@ -20,8 +20,12 @@ */ #include "ZYZZhuyinEditor.h" +#include <assert.h> #include "ZYConfig.h" #include "ZYLibZhuyin.h" +#include "ZYZhuyinProperties.h" +#include "ZYTradSimpConverter.h" +#include "ZYEnhancedText.h" using namespace ZY; @@ -133,7 +137,7 @@ ZhuyinEditor::updatePreeditText (void) char sym = section[i]; gchar ** symbols = NULL; /* append bopomofo symbol except for DaChen26. */ - assert (zhuyin_in_chewing_keyboard (m_instance, sym, symbols)); + assert (zhuyin_in_chewing_keyboard (m_instance, sym, &symbols)); assert (NULL != symbols[0]); m_preedit_text += symbols[0]; g_strfreev (symbols); @@ -167,11 +171,3 @@ ZhuyinEditor::updatePreeditText (void) Editor::updatePreeditText (preedit_text, cursor, TRUE); return; } - -void -ZhuyinEditor::update (void) -{ - updateLookupTable (); - updatePreeditText (); - updateAuxiliaryText (); -} |