mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
2007-08-03 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-ellipse.c: (clutter_behaviour_ellipse_get_property): Do not forget to correct the angles when returning them.
This commit is contained in:
parent
b368f1833a
commit
ac5ca04fa5
@ -1,3 +1,9 @@
|
|||||||
|
2007-08-03 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-behaviour-ellipse.c:
|
||||||
|
(clutter_behaviour_ellipse_get_property): Do not forget to
|
||||||
|
correct the angles when returning them.
|
||||||
|
|
||||||
2007-08-03 Tomas Frydrych <tf@openedhand.com>
|
2007-08-03 Tomas Frydrych <tf@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-behaviour-ellipse.c:
|
* clutter/clutter-behaviour-ellipse.c:
|
||||||
|
@ -319,19 +319,24 @@ clutter_behaviour_ellipse_get_property (GObject *gobject,
|
|||||||
switch (prop_id)
|
switch (prop_id)
|
||||||
{
|
{
|
||||||
case PROP_ANGLE_BEGIN:
|
case PROP_ANGLE_BEGIN:
|
||||||
g_value_set_double (value, CLUTTER_ANGLE_TO_DEG (priv->angle_begin));
|
g_value_set_double (value,
|
||||||
|
CLUTTER_ANGLE_TO_DEG (priv->angle_begin + 256));
|
||||||
break;
|
break;
|
||||||
case PROP_ANGLE_END:
|
case PROP_ANGLE_END:
|
||||||
g_value_set_double (value, CLUTTER_ANGLE_TO_DEG (priv->angle_end));
|
g_value_set_double (value,
|
||||||
|
CLUTTER_ANGLE_TO_DEG (priv->angle_end + 256));
|
||||||
break;
|
break;
|
||||||
case PROP_ANGLE_TILT_X:
|
case PROP_ANGLE_TILT_X:
|
||||||
g_value_set_double (value, CLUTTER_ANGLE_TO_DEG (priv->angle_tilt_x));
|
g_value_set_double (value,
|
||||||
|
CLUTTER_ANGLE_TO_DEG (priv->angle_tilt_x + 256));
|
||||||
break;
|
break;
|
||||||
case PROP_ANGLE_TILT_Y:
|
case PROP_ANGLE_TILT_Y:
|
||||||
g_value_set_double (value, CLUTTER_ANGLE_TO_DEG (priv->angle_tilt_y));
|
g_value_set_double (value,
|
||||||
|
CLUTTER_ANGLE_TO_DEG (priv->angle_tilt_y + 256));
|
||||||
break;
|
break;
|
||||||
case PROP_ANGLE_TILT_Z:
|
case PROP_ANGLE_TILT_Z:
|
||||||
g_value_set_double (value, CLUTTER_ANGLE_TO_DEG (priv->angle_tilt_z));
|
g_value_set_double (value,
|
||||||
|
CLUTTER_ANGLE_TO_DEG (priv->angle_tilt_z + 256));
|
||||||
break;
|
break;
|
||||||
case PROP_WIDTH:
|
case PROP_WIDTH:
|
||||||
g_value_set_int (value, (priv->a << 1));
|
g_value_set_int (value, (priv->a << 1));
|
||||||
|
Loading…
Reference in New Issue
Block a user