From abc29d4407e2812167a2099b1fe9eafab9b31ccc Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 6 Mar 2008 18:12:40 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ clutter/clutter-actor.c | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) 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