g_signal_connect error invalid use of member
- by paultop6
Hi Guys,
More GTK questions, im trying to compile some code and im getting the following error:
error: invalid use of member (did you forget the ‘&’ ?)
This is comming from the g_signal_connect call:
g_signal_connect ((gpointer) Drawing_Area_CPU, "expose-event",
G_CALLBACK (graph_expose), NULL);
Drawing_Area_CPU is a GtkWidget* and graph_expose is defined as:
gboolean graph_expose(GtkWidget *widget, GdkEventExpose *event, gpointer data);
So far as i can tell im doing everything right, but still i get this error. Can anyone help please?
Regards
Paul