Mercurial > vim
comparison src/hangulin.c @ 17296:49ef396af986 v8.1.1647
patch 8.1.1647: build error with GTK and hangulinput feature
commit https://github.com/vim/vim/commit/d84b2c3d88b08722dd4f686256a22c26788ea122
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 7 19:16:58 2019 +0200
patch 8.1.1647: build error with GTK and hangulinput feature
Problem: Build error with GTK and hangulinput feature, im_get_status()
defined twice. (Dominique Pelle)
Solution: Adjust im_get_status(). (closes #4628)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jul 2019 19:30:05 +0200 |
parents | 55ccc2d353bd |
children | c90ca5b9fc0d |
comparison
equal
deleted
inserted
replaced
17295:ebb1ab15dc85 | 17296:49ef396af986 |
---|---|
402 { | 402 { |
403 hangul_input_state = state; | 403 hangul_input_state = state; |
404 hangul_input_clear(); | 404 hangul_input_clear(); |
405 } | 405 } |
406 | 406 |
407 #if (!defined(FEAT_XIM) && !defined(FEAT_GUI_GTK)) || defined(PROTO) | |
407 int | 408 int |
408 im_get_status(void) | 409 im_get_status(void) |
409 { | 410 { |
410 return hangul_input_state_get(); | 411 return hangul_input_state_get(); |
411 } | 412 } |
413 #endif | |
412 | 414 |
413 void | 415 void |
414 hangul_input_state_toggle(void) | 416 hangul_input_state_toggle(void) |
415 { | 417 { |
416 if (hangul_input_state_get()) | 418 if (hangul_input_state_get()) |