Re: changing usize in ::size-request (bug #155139)



On Tue, 2004-10-12 at 22:15 +0200, Tim Janik wrote:

> 
> ok, for 2.6, i'd sugegst we then do:
> - unsetting the GTK_REQUEST_NEEDED flag before we emit ::size-request, as you suggest
> - deprecate GTK_RESIZE_IMMEDIATE and internally treat it as GTK_RESIZE_QUEUE
>    (if somebody would really wanted to shoot himself into the foot with immediate
>    resizing, he can still call gtk_container_check_resize() himself)
> - leave the
>      s/while (!GTK_WIDGET_ALLOC_NEEDED (widget) ||
>               !GTK_WIDGET_REQUEST_NEEDED (widget))/while (TRUE)/
>    change from 2.4 in place. while it shouldn't strictly be neccessary, the
>    checks aren't strictly necessary either and simply "set ALLOC_NEEDED and
>    REQUEST_NEEDED up to the resize_container" is easier to read and understand.

Done now. Can you test this with your testcases, Tim ?

Matthias




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]