[clutter] tests/interactive: Fix compiler warning
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] tests/interactive: Fix compiler warning
- Date: Thu, 18 Jun 2015 15:39:33 +0000 (UTC)
commit b5fd0fe7fe8ac0e63f62788256f968ced51a7aaa
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Jun 18 16:29:26 2015 +0100
tests/interactive: Fix compiler warning
Missing type for the closure argument.
tests/interactive/test-pixmap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/interactive/test-pixmap.c b/tests/interactive/test-pixmap.c
index d339055..445cf5f 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]