Re: [gtk-list] Re: dynamic creation of buttons
- From: "Eric Gillespie, Jr." <epg pobox com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: dynamic creation of buttons
- Date: Fri, 7 Jan 2000 01:04:13 -0600
On Thu, Jan 06, 2000 at 08:58:36PM +0100,
Nicolas GEORGE <george@clipper.ens.fr> wrote:
> The correct way tu use it is (int)user_data.
I assume you're suggesting that he do this in the callback, but this may
not work on all systems. You should always use the
GINT_TO_POINTER/GPOINTER_TO_INT macros when storing integers in
pointers, otherwise, your program may not be portable.
--
Eric Gillespie, Jr. <*> epg@pobox.com
All hail the Dollar, King of the Earth.
PGP signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]