Re: Incorrect GtkAction signal prototypes



On Saturday, January 3, 2004, at 08:18 AM, Jeff Franks wrote:

I think the "activate", "connect_proxy" and "disconnect_proxy" signal prototypes are incorrectly declared in gtkaction.h. None of the signals have a "user_data" parameter, but in the GtkAction.html doc file the signals are declared as having a "user_data" argument. Language bindings need this parameter.

user data comes gratis with the signal mechanism. it should never be explicitly declared to be one of a signal's argument types -- it's always last, and it's always a gpointer.

--
"that's it! you're a genius!" "yes. that's what i think. do you think i deserve a raise?"
	- dialogue from 'Godzilla versus Mothra', 1964




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