2016-03-07 0:15 GMT+09:00 toothpik <[email protected]>:

> On Sun, Mar 06, 2016 at 02:16:56PM +0900, Kazunobu Kuriyama wrote:
> > Thank you for your prompt reply.
>
> > 2016-03-06 12:28 GMT+09:00 toothpik <[email protected]>:
>
> > > (gvim:30088): Gtk-CRITICAL **: gtk_distribute_natural_allocation:
> > > assertion 'extra_space >= 0' failed
>
> > It's a runtime warning and depends on the environments in use --- GUI
> > width, font family, font size, display device etc.
>
> > Probably, that particular warning was issued because the specified width
> > was too small to display the whole menubar.
>
> menubar?  who uses menubars?
>

That's is the widget which is referred to as the field `menubar` of the
global variable `gui` of the type `gui_T`.  See `gui.h`.


>
> > If you care about it,
>
> a large "if" indeed
>
> > how about changing the widths of the two small gvim to another larger
> > value so that GTK won't complain about it?
>
> no, those widths were chosen specifically to fit their contents
>

But GTK warned you they were not, didn't it?   Note that the warnings were
not issued by the code I wrote.  It came from the GTK internal, as I wrote
previously.  I can't stop them.

>
> > You can't make the width smaller than the value proper for your
> > environments to display the whole menubar, anyway.
>
> oh?  I'd say I can, because I am, and I'm getting that ugly warning --
> as of yet I've seen no ill effects from it, it's just ... ugly
>

You won't see any ill effect because GTK ignores the wrong width
specification.  That's the meaning of "Gtk-CRITICAL"; GTK is going to
correct the wrong instruction given by the user.


> --
> _|_ _  __|_|_ ._ o|
>  |_(_)(_)|_| ||_)||<
>               |
>
> --
> --
> 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 because you are subscribed to the Google Groups
> "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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 because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui