Mercurial > vim
diff src/mbyte.c @ 2277:f42e0b5ff9e9 vim73
Change remaining HAVE_GTK2 to FEAT_GUI_GTK.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 26 Jun 2010 05:38:18 +0200 |
parents | e4d849f4df03 |
children | 0b3be97064e5 |
line wrap: on
line diff
--- a/src/mbyte.c +++ b/src/mbyte.c @@ -3482,7 +3482,7 @@ theend: convert_setup(&vimconv, NULL, NULL); } -#if defined(HAVE_GTK2) || defined(PROTO) +#if defined(FEAT_GUI_GTK) || defined(PROTO) /* * Return TRUE if string "s" is a valid utf-8 string. * When "end" is NULL stop at the first NUL. @@ -4223,7 +4223,7 @@ init_preedit_start_col(void) } # endif -# if defined(HAVE_GTK2) && !defined(PROTO) +# if defined(FEAT_GUI_GTK) && !defined(PROTO) static int im_is_active = FALSE; /* IM is enabled for current mode */ static int preedit_is_active = FALSE; @@ -5058,7 +5058,7 @@ im_get_status(void) return im_is_active; } -# else /* !HAVE_GTK2 */ +# else /* !FEAT_GUI_GTK */ static int xim_is_active = FALSE; /* XIM should be active in the current mode */ @@ -5627,9 +5627,9 @@ im_get_status() return xim_has_focus; } -# endif /* !HAVE_GTK2 */ - -# if defined(HAVE_GTK2) || defined(PROTO) +# endif /* !FEAT_GUI_GTK */ + +# if defined(FEAT_GUI_GTK) || defined(PROTO) int preedit_get_status(void) {