[clutter] actor: fix translation-z setting



commit b914ae70b1673b418f2f7be082916dc1271df0f4
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Sun Mar 17 03:19:02 2013 +0000

    actor: fix translation-z setting
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695982

 clutter/clutter-actor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 46001e3..0963615 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -4370,7 +4370,7 @@ clutter_actor_set_translation_factor (ClutterActor      *self,
 
     case CLUTTER_Z_AXIS:
       pspec = obj_props[PROP_TRANSLATION_Z];
-      translate_p = &info->translation.x;
+      translate_p = &info->translation.z;
       break;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]