Skip to content

Commit dc13f9c

Browse files
committed
updated for version 7.3.593
Problem: No easy way to decide if b:browsefilter will work. Solution: Add the browsefilter feature.
1 parent 52940bb commit dc13f9c

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

src/eval.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12044,6 +12044,11 @@ f_has(argvars, rettv)
1204412044
"all_builtin_terms",
1204512045
# endif
1204612046
#endif
12047+
#if defined(FEAT_BROWSE) && (defined(USE_FILE_CHOOSER) \
12048+
|| defined(FEAT_GUI_W32) \
12049+
|| defined(FEAT_GUI_MOTIF))
12050+
"browsefilter",
12051+
#endif
1204712052
#ifdef FEAT_BYTEOFF
1204812053
"byte_offset",
1204912054
#endif

src/gui_gtk.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -779,9 +779,6 @@ gui_mch_destroy_scrollbar(scrollbar_T *sb)
779779
/*
780780
* Implementation of the file selector related stuff
781781
*/
782-
#if GTK_CHECK_VERSION(2,4,0)
783-
# define USE_FILE_CHOOSER
784-
#endif
785782

786783
#ifndef USE_FILE_CHOOSER
787784
static void

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ static char *(features[]) =
714714

715715
static int included_patches[] =
716716
{ /* Add new patch number below this line */
717+
/**/
718+
593,
717719
/**/
718720
592,
719721
/**/

src/vim.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,6 +2125,12 @@ typedef int VimClipboard; /* This is required for the prototypes. */
21252125
# endif
21262126
#endif
21272127

2128+
#if defined(FEAT_BROWSE) && defined(GTK_CHECK_VERSION)
2129+
# if GTK_CHECK_VERSION(2,4,0)
2130+
# define USE_FILE_CHOOSER
2131+
# endif
2132+
#endif
2133+
21282134
#ifndef FEAT_NETBEANS_INTG
21292135
# undef NBDEBUG
21302136
#endif

0 commit comments

Comments
 (0)