Re: [gtk-list] Re: ItemFactory anyone?

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.

Shaw Terwilliger

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