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) {