From 2ccfd3c08fe018914f82f7b13cb89578dc97aeac Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Mon, 16 Jun 2008 14:14:19 +0000 Subject: [PATCH] 2008-06-16 Tomas Frydrych * clutter/clutter-actor.c: (clutter_actor_move_anchor_point_from_gravity): Fixed incorrect sign of position adjustment (revert of earlier change). --- ChangeLog | 7 +++++++ clutter/clutter-actor.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9451be38b..e8c289206 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-06-16 Tomas Frydrych + + * clutter/clutter-actor.c: + (clutter_actor_move_anchor_point_from_gravity): + Fixed incorrect sign of position adjustment (revert of earlier + change). + 2008-06-16 Emmanuele Bassi * clutter/clutter-actor.c (clutter_actor_unparent): Reset the diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index db321d9cf..6fe757b7b 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -6201,8 +6201,8 @@ clutter_actor_move_anchor_point_from_gravity (ClutterActor *self, clutter_actor_set_anchor_point_from_gravity (self, gravity); - dx = ax - priv->anchor_x; - dy = ay - priv->anchor_y; + dx = priv->anchor_x - ax; + dy = priv->anchor_y - ay; if (priv->position_set) {