Mercurial > vim
diff src/message.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 | 75a69023117c |
children | 941ff1cd317a |
line wrap: on
line diff
--- a/src/message.c +++ b/src/message.c @@ -3778,7 +3778,7 @@ do_browse(flags, title, dflt, ext, initd 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, initd * 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))