Re: Passing Data to Callbacks
- From: Adam Tee <eenajt electeng leeds ac uk>
- To: zze-coframi balr001 <coframi balr001 rd francetelecom com>
- Cc: "gtk-app-devel" <gtk-app-devel-list gnome org>
- Subject: Re: Passing Data to Callbacks
- Date: Fri, 1 Feb 2002 11:46:11 +0000
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]