tests/actor-pick: Remove tabs

They're evil.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1169
This commit is contained in:
Georges Basile Stavracas Neto 2020-03-31 18:58:44 -03:00
parent 902302a174
commit 059d2144b2

View File

@ -175,10 +175,10 @@ actor_pick (void)
for (y = 0; y < ACTORS_Y; y++)
for (x = 0; x < ACTORS_X; x++)
{
ClutterColor color = { x * 255 / (ACTORS_X - 1),
y * 255 / (ACTORS_Y - 1),
128, 255 };
ClutterActor *rect = clutter_rectangle_new_with_color (&color);
ClutterColor color = { x * 255 / (ACTORS_X - 1),
y * 255 / (ACTORS_Y - 1),
128, 255 };
ClutterActor *rect = clutter_rectangle_new_with_color (&color);
clutter_actor_set_position (rect,
x * state.actor_width,
@ -187,9 +187,9 @@ actor_pick (void)
state.actor_width,
state.actor_height);
clutter_actor_add_child (state.stage, rect);
clutter_actor_add_child (state.stage, rect);
state.actors[y * ACTORS_X + x] = rect;
state.actors[y * ACTORS_X + x] = rect;
}
clutter_actor_show (state.stage);