0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

updated for version 7.3.355

Problem:    GTK warnings when using netrw.vim. (Ivan Krasilnikov)
Solution:   Do not remove the beval event handler twice.
This commit is contained in:
Bram Moolenaar
2011-11-30 11:31:30 +01:00
parent 4e5ccfa5c7
commit 49e4ec6eee
2 changed files with 4 additions and 2 deletions

View File

@@ -7796,9 +7796,9 @@ set_bool_option(opt_idx, varp, value, opt_flags)
#ifdef FEAT_BEVAL #ifdef FEAT_BEVAL
else if ((int *)varp == &p_beval) else if ((int *)varp == &p_beval)
{ {
if (p_beval == TRUE) if (p_beval && !old_value)
gui_mch_enable_beval_area(balloonEval); gui_mch_enable_beval_area(balloonEval);
else else if (!p_beval && old_value)
gui_mch_disable_beval_area(balloonEval); gui_mch_disable_beval_area(balloonEval);
} }
#endif #endif

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
355,
/**/ /**/
354, 354,
/**/ /**/