2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-actor.c (clutter_actor_set_property): Use the
	internal setter for the rotation center.
This commit is contained in:
Emmanuele Bassi 2008-04-23 13:21:33 +00:00
parent b450363370
commit 7d103daed4
2 changed files with 23 additions and 18 deletions

View File

@ -1,3 +1,8 @@
2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c (clutter_actor_set_property): Use the
internal setter for the rotation center.
2008-04-23 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.[ch]: Add units based variant of the * clutter/clutter-actor.[ch]: Add units based variant of the

View File

@ -1548,12 +1548,12 @@ clutter_actor_set_property (GObject *object,
ClutterVertex *center; ClutterVertex *center;
center = g_value_get_boxed (value); center = g_value_get_boxed (value);
clutter_actor_set_rotationx (actor, clutter_actor_set_rotation_internal (actor,
CLUTTER_X_AXIS, CLUTTER_X_AXIS,
priv->rxang, priv->rxang,
0, 0,
center->y, center->y,
center->z); center->z);
} }
break; break;
case PROP_ROTATION_CENTER_Y: case PROP_ROTATION_CENTER_Y:
@ -1561,12 +1561,12 @@ clutter_actor_set_property (GObject *object,
ClutterVertex *center; ClutterVertex *center;
center = g_value_get_boxed (value); center = g_value_get_boxed (value);
clutter_actor_set_rotationx (actor, clutter_actor_set_rotation_internal (actor,
CLUTTER_Y_AXIS, CLUTTER_Y_AXIS,
priv->ryang, priv->ryang,
center->x, center->x,
0, 0,
center->z); center->z);
} }
break; break;
case PROP_ROTATION_CENTER_Z: case PROP_ROTATION_CENTER_Z:
@ -1574,12 +1574,12 @@ clutter_actor_set_property (GObject *object,
ClutterVertex *center; ClutterVertex *center;
center = g_value_get_boxed (value); center = g_value_get_boxed (value);
clutter_actor_set_rotationx (actor, clutter_actor_set_rotation_internal (actor,
CLUTTER_Z_AXIS, CLUTTER_Z_AXIS,
priv->rzang, priv->rzang,
center->x, center->x,
center->y, center->y,
0); 0);
} }
break; break;
case PROP_ANCHOR_X: case PROP_ANCHOR_X: