[clutter/wip/master-next: 22/23] Use Vertex zero init macro
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/wip/master-next: 22/23] Use Vertex zero init macro
- Date: Tue, 10 Jul 2012 07:30:28 +0000 (UTC)
commit 72a79808c97232b72e280a3dfa3dd7d9be49e00a
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Jul 9 12:00:32 2012 +0100
Use Vertex zero init macro
clutter/clutter-actor.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 1fc1241..340d5a0 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -4116,7 +4116,7 @@ static const ClutterTransformInfo default_transform_info = {
{ 0, }, /* anchor */
- CLUTTER_VERTEX_INIT (0.f, 0.f, 0.f),
+ CLUTTER_VERTEX_INIT_ZERO, /* translation */
0.f, /* z-position */
@@ -4524,9 +4524,9 @@ clutter_actor_set_rotation_center_internal (ClutterActor *self,
ClutterRotateAxis axis,
const ClutterVertex *center)
{
+ ClutterVertex v = CLUTTER_VERTEX_INIT_ZERO;
GObject *obj = G_OBJECT (self);
ClutterTransformInfo *info;
- ClutterVertex v = { 0, 0, 0 };
info = _clutter_actor_get_transform_info (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]