comparison 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
comparison
equal deleted inserted replaced
2276:ebabd8a8b714 2277:f42e0b5ff9e9
3776 # endif 3776 # endif
3777 ) 3777 )
3778 filter = BROWSE_FILTER_DEFAULT; 3778 filter = BROWSE_FILTER_DEFAULT;
3779 if (flags & BROWSE_DIR) 3779 if (flags & BROWSE_DIR)
3780 { 3780 {
3781 # if defined(HAVE_GTK2) || defined(WIN3264) 3781 # if defined(FEAT_GUI_GTK) || defined(WIN3264)
3782 /* For systems that have a directory dialog. */ 3782 /* For systems that have a directory dialog. */
3783 fname = gui_mch_browsedir(title, initdir); 3783 fname = gui_mch_browsedir(title, initdir);
3784 # else 3784 # else
3785 /* Generic solution for selecting a directory: select a file and 3785 /* Generic solution for selecting a directory: select a file and
3786 * remove the file name. */ 3786 * remove the file name. */
3787 fname = gui_mch_browse(0, title, dflt, ext, initdir, (char_u *)""); 3787 fname = gui_mch_browse(0, title, dflt, ext, initdir, (char_u *)"");
3788 # endif 3788 # endif
3789 # if !defined(HAVE_GTK2) 3789 # if !defined(FEAT_GUI_GTK)
3790 /* Win32 adds a dummy file name, others return an arbitrary file 3790 /* Win32 adds a dummy file name, others return an arbitrary file
3791 * name. GTK+ 2 returns only the directory, */ 3791 * name. GTK+ 2 returns only the directory, */
3792 if (fname != NULL && *fname != NUL && !mch_isdir(fname)) 3792 if (fname != NULL && *fname != NUL && !mch_isdir(fname))
3793 { 3793 {
3794 /* Remove the file name. */ 3794 /* Remove the file name. */