diff --git a/ChangeLog b/ChangeLog index ab7a7c3e6..bf784e0a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-06 Emmanuele Bassi + + * clutter/clutter-actor.c: + (clutter_actor_set_anchor_point_from_gravity): Fix a stupid + conversion from pixels to units that should I not have made. + 2008-03-06 Emmanuele Bassi * README: Update the release notes. diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index 1e9327418..71dabf5fb 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -4740,9 +4740,7 @@ clutter_actor_set_anchor_point_from_gravity (ClutterActor *self, break; } - clutter_actor_set_anchor_pointu (self, - CLUTTER_UNITS_FROM_DEVICE (x), - CLUTTER_UNITS_FROM_DEVICE (y)); + clutter_actor_set_anchor_pointu (self, x, y); } typedef enum