diff options
author | Peng Wu <alexepico@gmail.com> | 2018-06-06 16:57:42 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2018-06-06 16:57:42 +0800 |
commit | e9cb1572f84785cada0e5434d1b992ba1298b1a4 (patch) | |
tree | a15b27c15cb590a1d3ba92f1aec82e1136099376 /src/PYPBopomofoEditor.h | |
parent | de688e73654da6a7ace797f35e34275daa4980d3 (diff) | |
download | ibus-libpinyin-e9cb1572f84785cada0e5434d1b992ba1298b1a4.tar.gz ibus-libpinyin-e9cb1572f84785cada0e5434d1b992ba1298b1a4.tar.xz ibus-libpinyin-e9cb1572f84785cada0e5434d1b992ba1298b1a4.zip |
re-factor commit method
Diffstat (limited to 'src/PYPBopomofoEditor.h')
-rw-r--r-- | src/PYPBopomofoEditor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PYPBopomofoEditor.h b/src/PYPBopomofoEditor.h index cc6a6f4..3035011 100644 --- a/src/PYPBopomofoEditor.h +++ b/src/PYPBopomofoEditor.h @@ -52,8 +52,9 @@ protected: virtual void updatePreeditText (); virtual void updateAuxiliaryText (); virtual void updatePinyin (void); + virtual void commit (const gchar *str); + using PhoneticEditor::commit; - void commit (gint index = 0); void reset (); gboolean insert (gint ch); |