Re: the change of addresses



Hi!

the callback prototype is not correct, change that to:

static void sim_win_simfm_destroy(GtkWidget * widget, GdkEvent
*event,(struct sim_win_simfm_t *) win_simfm);

you can find the correct prototype for every signal in the reference
guide.

Thank you for your hint. I recognized that problem a day or two ago. The
problem is that the api says something diffrent than the tutorial. Look at this:

-- snip --

The function specified in the third argument is called a "callback
function", and should generally be of the form

void callback_func( GtkWidget *widget,
                    gpointer   callback_data );

-- /snip --

This was really confusing ;-)

Thanks for help.

-- 
Simon Fuhrmann | NightSlayer gmx de | www.dismember.de

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




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