tests/interactive: Fix compiler warning

Missing type for the closure argument.
This commit is contained in:
Emmanuele Bassi 2015-06-18 16:29:26 +01:00
parent 0c75e17814
commit b5fd0fe7fe

View File

@ -89,7 +89,7 @@ stage_key_release_cb (ClutterActor *actor,
}
static gboolean
draw_arc (data)
draw_arc (gpointer data)
{
Pixmap pixmap = GPOINTER_TO_UINT (data);
Display *dpy = clutter_x11_get_default_display ();
@ -126,7 +126,7 @@ stage_button_press_cb (ClutterActor *actor,
ClutterEvent *event,
gpointer data)
{
draw_arc (GPOINTER_TO_UINT (data));
draw_arc (data);
return CLUTTER_EVENT_STOP;
}