Re: [gtk-list] Re: ItemFactory anyone?
- From: Shaw Terwilliger <sterwill postman abisource com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: ItemFactory anyone?
- Date: Thu, 14 Jan 1999 12:33:32 -0600
Jan Kratochvil wrote:
> > If you already know what the menu items are going to be and they won't
> > change at runtime you can just use a case statement in your callback.
> Oh my god, why just don't cast the needed pointer (it WILL be probably pointer),
> to "guint"? Like in the following example:
Oh my god, why don't you just go break your code on the Alpha then? :)
You'll get a friendly little "segmentation fault" when you assign a
pointer to a 32-bit guint.
] [Thread Prev