From b5fd0fe7fe8ac0e63f62788256f968ced51a7aaa Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 18 Jun 2015 16:29:26 +0100 Subject: [PATCH] tests/interactive: Fix compiler warning Missing type for the closure argument. --- tests/interactive/test-pixmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/interactive/test-pixmap.c b/tests/interactive/test-pixmap.c index d33905587..445cf5ff0 100644 --- a/tests/interactive/test-pixmap.c +++ b/tests/interactive/test-pixmap.c @@ -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; }