Bram Moolenaar wrote:
Ivan Krasilnikov wrote:

Attached are stack traces of these warnings. Warnings are printed
inside removeEventHandler() at gui_beval.c:479..487 as a result of
some "let&beval = ..." statement.

Apparently, removeEventHandler() is called twice somewhere.
Just guessing, does this patch solve the problem:


*** ../vim-7.3.353/src/option.c 2011-10-12 16:57:07.000000000 +0200
--- src/option.c        2011-11-29 22:42:04.000000000 +0100
***************
*** 7771,7779 ****
   #ifdef FEAT_BEVAL
       else if ((int *)varp ==&p_beval)
       {
!       if (p_beval == TRUE)
            gui_mch_enable_beval_area(balloonEval);
!       else
            gui_mch_disable_beval_area(balloonEval);
       }
   #endif
--- 7771,7779 ----
   #ifdef FEAT_BEVAL
       else if ((int *)varp ==&p_beval)
       {
!       if (p_beval&&  !old_value)
            gui_mch_enable_beval_area(balloonEval);
!       else if (!p_beval&&  old_value)
            gui_mch_disable_beval_area(balloonEval);
       }
   #endif

This patch does solve the GTK warnings I'd been getting!

Thank you,
Chip Campbell


--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui