From 1580ffb884fa1864e9bd53934ae2d1258c3b7dbe Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 3 Jun 2009 10:09:56 +0100 Subject: [PATCH] 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. --- clutter/clutter-actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index b57b41c0d..9d98dcd92 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -2612,7 +2612,7 @@ clutter_actor_set_property (GObject *object, case PROP_ANCHOR_Y: { - gfloat anchor_y = g_value_get_int (value); + gfloat anchor_y = g_value_get_float (value); gfloat anchor_x; clutter_anchor_coord_get_units (actor, &priv->anchor,