Hi, Tristan Van Berkom <[EMAIL PROTECTED]> writes:
> wait a second :S > > this is the prototype for g_free: > > void g_free (gpointer mem); > > and this is the `catch all function pointer' GCallback > > void (*GCallback) (void); > > so far so good.... > > but when it comes down to marshalling the signals > stack garbage will be collected as a return values > from `g_free' in consequence stopping signal emmision > (in most cases you wont have `0' sitting on the stack > at that spot). you shouldn't use these (quite convenient) tricks for signals with return values. Keep in mind however that most GTK+ signals don't have a return value. Salut, Sven _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list