Re: Passing Data to Callbacks



On Friday 01 Feb 2002 9:48 am, you wrote:
Hello,

Are you sure that you struct scoreinfo si is allocated correctly and that
it's not NULL in your callback ?
Try to test the value of your gpointer in the callback to know if it's not
NULL


It's wasn't NULL but I've solved the problem.
I was using the wrong callback form. 

I should have been using

void unhighlight (GtkWidget *widget, gpointer callback_data)

Not,
void unhighlight (gpointer callback_data,GtkWidget * widget)

Adam




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