Mercurial > vim
changeset 3170:d2f70593afeb v7.3.355
updated for version 7.3.355
Problem: GTK warnings when using netrw.vim. (Ivan Krasilnikov)
Solution: Do not remove the beval event handler twice.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 30 Nov 2011 11:31:30 +0100 |
parents | 8fc1710a75c9 |
children | d7bbab59d3ca |
files | src/option.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/option.c +++ b/src/option.c @@ -7796,9 +7796,9 @@ set_bool_option(opt_idx, varp, value, op #ifdef FEAT_BEVAL else if ((int *)varp == &p_beval) { - if (p_beval == TRUE) + if (p_beval && !old_value) gui_mch_enable_beval_area(balloonEval); - else + else if (!p_beval && old_value) gui_mch_disable_beval_area(balloonEval); } #endif