From 75d93134d87be3a51b61162dffa99d16b162904e Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 30 Apr 2014 14:44:50 +0800 Subject: fixes compile --- src/ZYZZhuyinEditor.cc | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/ZYZZhuyinEditor.cc') 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 #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 (); -} -- cgit