diff --git a/tests/interactive/test-clip.c b/tests/interactive/test-clip.c index 1d3d05a33..5ccddfbcc 100644 --- a/tests/interactive/test-clip.c +++ b/tests/interactive/test-clip.c @@ -15,7 +15,7 @@ typedef enum struct _Clip { ClipType type; - gint x1, y1, x2, y2; + gint x1, y1, x2, y2; }; struct _CallbackData @@ -24,7 +24,7 @@ struct _CallbackData CoglHandle hand; Clip current_clip; - + GSList *clips; }; @@ -122,7 +122,7 @@ on_paint (ClutterActor *actor, CallbackData *data) { int i; ClutterGeometry stage_size; - guint hand_width, hand_height; + gint hand_width, hand_height; GSList *node; clutter_actor_get_allocation_geometry (data->stage, &stage_size); @@ -242,7 +242,7 @@ on_motion (ClutterActor *stage, ClutterMotionEvent *event, { data->current_clip.x2 = event->x; data->current_clip.y2 = event->y; - + clutter_actor_queue_redraw (stage); }