diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/PYPFullPinyinEditor.cc | 2 | ||||
-rw-r--r-- | src/PYPPhoneticEditor.cc | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/src/PYPFullPinyinEditor.cc b/src/PYPFullPinyinEditor.cc index 0e70ff5..fcf7fe9 100644 --- a/src/PYPFullPinyinEditor.cc +++ b/src/PYPFullPinyinEditor.cc @@ -143,7 +143,7 @@ void FullPinyinEditor::update (void) { guint lookup_cursor = getLookupCursor (); - pinyin_guess_full_pinyin_candidates (m_instance, lookup_cursor); + pinyin_guess_candidates (m_instance, lookup_cursor); updateLookupTable (); updatePreeditText (); diff --git a/src/PYPPhoneticEditor.cc b/src/PYPPhoneticEditor.cc index 23c385f..82e52be 100644 --- a/src/PYPPhoneticEditor.cc +++ b/src/PYPPhoneticEditor.cc @@ -384,14 +384,6 @@ PhoneticEditor::selectCandidate (guint i) lookup_cursor = pinyin_choose_candidate (m_instance, lookup_cursor, candidate); - if (DIVIDED_CANDIDATE == type || - RESPLIT_CANDIDATE == type) { - const gchar * str = NULL; - pinyin_get_raw_full_pinyin (m_instance, &str); - - m_text = str; - updatePinyin (); - } pinyin_guess_sentence (m_instance); len = 0; |