Remove a stray g_value_get_int()
Now that all properties are float, using g_value_get_int() to retrieve the value of the :anchor-x property is going to print out a warning.
This commit is contained in:
parent
046e571bae
commit
1580ffb884
@ -2612,7 +2612,7 @@ clutter_actor_set_property (GObject *object,
|
|||||||
|
|
||||||
case PROP_ANCHOR_Y:
|
case PROP_ANCHOR_Y:
|
||||||
{
|
{
|
||||||
gfloat anchor_y = g_value_get_int (value);
|
gfloat anchor_y = g_value_get_float (value);
|
||||||
gfloat anchor_x;
|
gfloat anchor_x;
|
||||||
|
|
||||||
clutter_anchor_coord_get_units (actor, &priv->anchor,
|
clutter_anchor_coord_get_units (actor, &priv->anchor,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user