Re: .99.4 broke GTK_TOGGLE_BUTTON(button)->active (PLEASE READ)
- From: Tom Bech <tomb ii uib no>
- To: gtk-list redhat com
- Subject: Re: .99.4 broke GTK_TOGGLE_BUTTON(button)->active (PLEASE READ)
- Date: Tue, 3 Mar 1998 09:31:11 +0100 (MET)
[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]