Use Vertex zero init macro

This commit is contained in:
Emmanuele Bassi 2012-07-09 12:00:32 +01:00
parent a101600c7d
commit 42ca7bf1f4

View File

@ -4116,7 +4116,7 @@ static const ClutterTransformInfo default_transform_info = {
{ 0, }, /* anchor */ { 0, }, /* anchor */
CLUTTER_VERTEX_INIT (0.f, 0.f, 0.f), CLUTTER_VERTEX_INIT_ZERO, /* translation */
0.f, /* z-position */ 0.f, /* z-position */
@ -4524,9 +4524,9 @@ clutter_actor_set_rotation_center_internal (ClutterActor *self,
ClutterRotateAxis axis, ClutterRotateAxis axis,
const ClutterVertex *center) const ClutterVertex *center)
{ {
ClutterVertex v = CLUTTER_VERTEX_INIT_ZERO;
GObject *obj = G_OBJECT (self); GObject *obj = G_OBJECT (self);
ClutterTransformInfo *info; ClutterTransformInfo *info;
ClutterVertex v = { 0, 0, 0 };
info = _clutter_actor_get_transform_info (self); info = _clutter_actor_get_transform_info (self);