[clutter/wip/master-next: 22/31] Use Vertex zero init macro
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/wip/master-next: 22/31] Use Vertex zero init macro
- Date: Wed, 11 Jul 2012 14:41:21 +0000 (UTC)
commit 42ca7bf1f411bc7572f63126aae445aa64f2ee2d
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]