Re: "widget_class->event" not working



On 08/20/2009 05:36 PM, Patrick M. Rutkowski wrote:
I've got the following code: http://www.rutski89.com/static/gtkevent.cpp

I do indeed do this:

widget_class->event = &any_event_r

but then any_event_r() never subsequently get's called, and I'm
certain that the "widget_class->event = &any_event_r" line really does
execute.

Any suggestions?

You're setting ->event to a pointer to a pointer to a function when all
it wants is a pointer to a function.

        -brian



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