summaryrefslogtreecommitdiff
path: root/src/message.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/message.c
parent51f53dfe17617792a0275b19f27b50f98b0db764 (diff)
downloadvim-git-0eda7ac7f897433c9d346743bf38fcd291673070.tar.gz
Change remaining HAVE_GTK2 to FEAT_GUI_GTK.
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c
index e29f5f8fe..f234a9db2 100644
--- a/src/message.c
+++ b/src/message.c
@@ -3778,7 +3778,7 @@ do_browse(flags, title, dflt, ext, initdir, filter, buf)
filter = BROWSE_FILTER_DEFAULT;
if (flags & BROWSE_DIR)
{
-# if defined(HAVE_GTK2) || defined(WIN3264)
+# if defined(FEAT_GUI_GTK) || defined(WIN3264)
/* For systems that have a directory dialog. */
fname = gui_mch_browsedir(title, initdir);
# else
@@ -3786,7 +3786,7 @@ do_browse(flags, title, dflt, ext, initdir, filter, buf)
* remove the file name. */
fname = gui_mch_browse(0, title, dflt, ext, initdir, (char_u *)"");
# endif
-# if !defined(HAVE_GTK2)
+# if !defined(FEAT_GUI_GTK)
/* Win32 adds a dummy file name, others return an arbitrary file
* name. GTK+ 2 returns only the directory, */
if (fname != NULL && *fname != NUL && !mch_isdir(fname))