Re: .99.4 broke GTK_TOGGLE_BUTTON(button)->active (PLEASE READ)




[snip]
>
>  GTK_WIDGET(GTK_LABEL(GTK_BUTTON(button)->child))->allocation.x--;
>  GTK_WIDGET(GTK_LABEL(GTK_BUTTON(button)->child))->allocation.y--;
>

Hm. You are aware that a button can have children that may not be
labels? Not that it matters in this case, - but why the typecast to
a label in the snippet above?

Tom

--

tomb@gimp.org



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