0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

Change remaining HAVE_GTK2 to FEAT_GUI_GTK.

This commit is contained in:
Bram Moolenaar
2010-06-26 05:38:18 +02:00
parent 51f53dfe17
commit 0eda7ac7f8
13 changed files with 53 additions and 59 deletions

View File

@@ -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 */
# endif /* !FEAT_GUI_GTK */
# if defined(HAVE_GTK2) || defined(PROTO)
# if defined(FEAT_GUI_GTK) || defined(PROTO)
int
preedit_get_status(void)
{