summaryrefslogtreecommitdiff
path: root/src/mbyte.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-06-26 05:38:18 +0200
committerBram Moolenaar <Bram@vim.org>2010-06-26 05:38:18 +0200
commit0eda7ac7f897433c9d346743bf38fcd291673070 (patch)
tree90a05f07c0c73e33b1097fab8f73d57a019027df /src/mbyte.c
parent51f53dfe17617792a0275b19f27b50f98b0db764 (diff)
downloadvim-git-0eda7ac7f897433c9d346743bf38fcd291673070.tar.gz
Change remaining HAVE_GTK2 to FEAT_GUI_GTK.
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 1eeede30b..939173ec3 100644
--- 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 */
+# endif /* !FEAT_GUI_GTK */
-# if defined(HAVE_GTK2) || defined(PROTO)
+# if defined(FEAT_GUI_GTK) || defined(PROTO)
int
preedit_get_status(void)
{