Re: Set up callbacks for dynamically created buttons



On Sat, 2006-04-22 at 10:33 +0200, David Necas (Yeti) wrote:
Please do not do this.  Perhaps it works on your i386 box,
but the macros GINT_TO_POINTER() and GPOINTER_TO_INT() exist
for a good reason.

Thanks for pointing that out, I was not aware of these macros..
Not that it makes any difference on an i386, as according to the GLib
reference manual it is defined as:
#define GINT_TO_POINTER(i)      ((gpointer)  (i))

-- 
Daniel Pekelharing
<legendstar gmail com>




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