diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-07 19:16:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-07 19:16:58 +0200 |
commit | d84b2c3d88b08722dd4f686256a22c26788ea122 (patch) | |
tree | 97755634395f3656468ea932ff67412407cc2483 /src/hangulin.c | |
parent | 56a63120992cc3e1f50d654a3f8aeace40bf12ef (diff) |
patch 8.1.1647: build error with GTK and hangulinput featurev8.1.1647
Problem: Build error with GTK and hangulinput feature, im_get_status()
defined twice. (Dominique Pelle)
Solution: Adjust im_get_status(). (closes #4628)
Diffstat (limited to 'src/hangulin.c')
-rw-r--r-- | src/hangulin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hangulin.c b/src/hangulin.c index e08fe6317a..337ea84f4c 100644 --- a/src/hangulin.c +++ b/src/hangulin.c @@ -404,11 +404,13 @@ hangul_input_state_set(int state) hangul_input_clear(); } +#if (!defined(FEAT_XIM) && !defined(FEAT_GUI_GTK)) || defined(PROTO) int im_get_status(void) { return hangul_input_state_get(); } +#endif void hangul_input_state_toggle(void) |