Remove explicit size of the Vertex arrays

The Vertex arrays passed to some ClutterActor methods should not
have the size. Albeit being technically correct, it's not a good
practice.
This commit is contained in:
Emmanuele Bassi 2009-07-27 16:10:07 +01:00
parent fe0e7f9f74
commit 42ea471e33
2 changed files with 5 additions and 5 deletions

View File

@ -1923,7 +1923,7 @@ clutter_actor_transform_vertices_relative (ClutterActor *self,
static void
clutter_actor_transform_and_project_box (ClutterActor *self,
const ClutterActorBox *box,
ClutterVertex verts[4])
ClutterVertex verts[])
{
ClutterActor *stage;
CoglMatrix mtx;
@ -2003,7 +2003,7 @@ clutter_actor_transform_and_project_box (ClutterActor *self,
void
clutter_actor_get_allocation_vertices (ClutterActor *self,
ClutterActor *ancestor,
ClutterVertex verts[4])
ClutterVertex verts[])
{
ClutterActorPrivate *priv;
ClutterActor *stage;
@ -2089,7 +2089,7 @@ clutter_actor_get_allocation_vertices (ClutterActor *self,
*/
void
clutter_actor_get_abs_allocation_vertices (ClutterActor *self,
ClutterVertex verts[4])
ClutterVertex verts[])
{
ClutterActorPrivate *priv;

View File

@ -328,7 +328,7 @@ void clutter_actor_get_allocation_geometry (ClutterActor
ClutterGeometry *geom);
void clutter_actor_get_allocation_vertices (ClutterActor *self,
ClutterActor *ancestor,
ClutterVertex verts[4]);
ClutterVertex verts[]);
void clutter_actor_set_geometry (ClutterActor *self,
const ClutterGeometry *geometry);
void clutter_actor_get_geometry (ClutterActor *self,
@ -500,7 +500,7 @@ gboolean clutter_actor_is_scaled (ClutterActor *self);
gboolean clutter_actor_should_pick_paint (ClutterActor *self);
void clutter_actor_get_abs_allocation_vertices (ClutterActor *self,
ClutterVertex verts[4]);
ClutterVertex verts[]);
void clutter_actor_apply_transform_to_point (ClutterActor *self,
const ClutterVertex *point,