Loading ...
Sorry, an error occurred while loading the content.
 

Re: gtk warnings after netrw.vim update in vim 7.3.347

Expand Messages
  • Bram Moolenaar
    ... Just guessing, does this patch solve the problem: ... *************** *** 7771,7779 **** #ifdef FEAT_BEVAL else if ((int *)varp == &p_beval) { ! if
    Message 1 of 7 , Nov 29, 2011
      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


      --
      panic("Foooooooood fight!");
      -- In the kernel source aha1542.c, after detecting a bad segment list

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      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
    • Charles Campbell
      ... 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
      Message 2 of 7 , Nov 29, 2011
        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
      • tyru
        Also in my environment, the patch fixed the problem. thanks. ... -- You received this message from the vim_dev maillist. Do not top-post! Type your reply
        Message 3 of 7 , Nov 30, 2011
          Also in my environment, the patch fixed the problem. thanks.

          On Wed, Nov 30, 2011 at 6:49 AM, Bram Moolenaar <Bram@...> 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


          --
          panic("Foooooooood fight!");
                 -- In the kernel source aha1542.c, after detecting a bad segment list

           /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
          ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
          \\\  an exciting new programming language -- http://www.Zimbu.org        ///
           \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

          --
          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

          --
          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
        • Ivan Krasilnikov
          ... Yes. It fixed the warnings for me. Thank you. -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you
          Message 4 of 7 , Nov 30, 2011
            On Tue, Nov 29, 2011 at 22:49, Bram Moolenaar <Bram@...> wrote:
            > Just guessing, does this patch solve the problem:

            Yes. It fixed the warnings for me. Thank you.

            --
            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
          Your message has been successfully submitted and would be delivered to recipients shortly.