cookbook: Make example code C90 compliant
Modified all cookbook example code to prevent ISO C90 compliance warnings occurring during compilation.
This commit is contained in:
@ -9,9 +9,10 @@ _pointer_motion_cb (ClutterActor *actor,
|
||||
gpointer user_data)
|
||||
{
|
||||
gfloat stage_x, stage_y;
|
||||
gfloat actor_x, actor_y;
|
||||
|
||||
clutter_event_get_coords (event, &stage_x, &stage_y);
|
||||
|
||||
gfloat actor_x, actor_y;
|
||||
clutter_actor_transform_stage_point (actor,
|
||||
stage_x, stage_y,
|
||||
&actor_x, &actor_y);
|
||||
|
Reference in New Issue
Block a user