diff options
author | Choe Hwanjin <choe.hwanjin@gmail.com> | 2007-03-08 22:41:38 +0900 |
---|---|---|
committer | Choe Hwanjin <choe.hwanjin@gmail.com> | 2007-03-08 22:41:38 +0900 |
commit | 99d17ea6ac2bd0ceff4b8810a0fc934dd41aee92 (patch) | |
tree | 4d2a31b8cddabe0a4cf52ff0f46c32013b8827cd | |
parent | f50ccf1e6752bced2efbbd2a1623e05660218716 (diff) | |
download | libhangul-99d17ea6ac2bd0ceff4b8810a0fc934dd41aee92.tar.gz |
callback function pointer 초기화 루틴 추가
git-svn-id: http://kldp.net/svn/hangul/libhangul/trunk@118 8f00fcd2-89fc-0310-932e-b01be5b65e01
-rw-r--r-- | hangul/hangulinputcontext.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hangul/hangulinputcontext.c b/hangul/hangulinputcontext.c index c1878c0..07fca98 100644 --- a/hangul/hangulinputcontext.c +++ b/hangul/hangulinputcontext.c @@ -1111,7 +1111,6 @@ hangul_ic_new(const char* keyboard) hangul_ic_set_output_mode(hic, HANGUL_OUTPUT_SYLLABLE); hangul_ic_select_keyboard(hic, keyboard); - hangul_ic_set_filter(hic, NULL, NULL); hangul_buffer_clear(&hic->buffer); @@ -1119,6 +1118,12 @@ hangul_ic_new(const char* keyboard) hic->commit_string[0] = 0; hic->flushed_string[0] = 0; + hic->on_translate = NULL; + hic->on_translate_data = NULL; + + hic->on_transition = NULL; + hic->on_transition_data = NULL; + return hic; } |