Re: gtkalignment.c



Hi,

BENOIT CARPENTIER <gtkool_2kx yahoo fr> writes:

> In GTK 2.4.3, gtkalignment.c  :
> Line 450 and 451 :
> 
>   requisition->width = GTK_CONTAINER
> (widget)->border_width * 2;
>   requisition->height = GTK_CONTAINER
> (widget)->border_width * 2;
> 
> why line 451 is not like ? :
> requisition->height = GTK_CONTAINER
> (widget)->border_height * 2;

Because a container doesn't have a border_height. It has a
border_width that is applied on all four sides.

You have been asked before to use bugzilla if you think you found a
bug in gtk+ code. Since you ignored that advice, I will assume that
you are you just an artificial intelligence that is being trained to
detect possible bugs in source code. Is that right?


Sven



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