Re: Set up callbacks for dynamically created buttons
- From: Daniel Pekelharing <legendstar gmail com>
- To: "David Necas (Yeti)" <yeti physics muni cz>
- Cc: 3saul <saul_lethbridge hotmail com>, gtk-app-devel-list gnome org
- Subject: Re: Set up callbacks for dynamically created buttons
- Date: Sat, 22 Apr 2006 11:40:39 +0200
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]