Skip to content

Instantly share code, notes, and snippets.

@magcius
Created August 15, 2009 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magcius/168445 to your computer and use it in GitHub Desktop.
Save magcius/168445 to your computer and use it in GitHub Desktop.
Changes in HEAD
Modified clutter/clutter-actor.c
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 3071114..781709f 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -5881,7 +5881,7 @@ clutter_actor_get_scale (ClutterActor *self,
* Since: 1.0
*/
void
-clutter_actor_get_scale_center (ClutterActor *self,
+clutter_actor_get__center (ClutterActor *self,
gfloat *center_x,
gfloat *center_y)
{
@@ -7053,8 +7053,8 @@ clutter_actor_move_anchor_point (ClutterActor *self,
if (priv->position_set)
clutter_actor_move_by (self,
- anchor_x - old_anchor_x,
- anchor_y - old_anchor_y);
+ (anchor_x - old_anchor_x) * self->priv->scale_x,
+ (anchor_y - old_anchor_y) * self->priv->scale_y);
g_object_thaw_notify (G_OBJECT (self));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment