Øystein Johansen wrote:> Wow! A really powerful macro. I actually had to run a 'gcc -E' to> convince myself. Here's what it does:> > Declare the functions:> <my_type>_init> <my_type>_class_init Hello?! Wait a minute.... The macro (G_DEFINE_TYPE) prototypes theinstance init function to: static void my_thing_init( MyThing *self); (line 358 in my gtype.h) however API reference for GInstanceInitFunc() saysthe arguments should be:(GTypeInstance *instance, gpointer g_class); http://developer.gnome.org/doc/API/2.0/gobject/gobject-Type-Information.html#GInstanceInitFunc I also get a error when compiling.error: conflicting types for 'my_thing_init'error: previous declaration of 'my_thing_init' was here....... -Øystein _______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list