mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
tests/interactive: Fix compiler warning
Missing type for the closure argument.
This commit is contained in:
parent
0c75e17814
commit
b5fd0fe7fe
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user