2008-03-06 Emmanuele Bassi <ebassi@openedhand.com>

* 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.
This commit is contained in:
Emmanuele Bassi 2008-03-06 18:12:40 +00:00
parent 3db6c88c82
commit abc29d4407
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2008-03-06 Emmanuele Bassi <ebassi@openedhand.com>
* 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 <ebassi@openedhand.com> 2008-03-06 Emmanuele Bassi <ebassi@openedhand.com>
* README: Update the release notes. * README: Update the release notes.

View File

@ -4740,9 +4740,7 @@ clutter_actor_set_anchor_point_from_gravity (ClutterActor *self,
break; break;
} }
clutter_actor_set_anchor_pointu (self, clutter_actor_set_anchor_pointu (self, x, y);
CLUTTER_UNITS_FROM_DEVICE (x),
CLUTTER_UNITS_FROM_DEVICE (y));
} }
typedef enum typedef enum