summaryrefslogtreecommitdiff
path: root/clutter
diff options
context:
space:
mode:
authorJosselin Mouette <joss@malsain.org>2013-02-20 22:20:22 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2013-03-04 23:14:53 +0000
commitd79204ec2764c01c891d88ace0ab6f95f0a3e5c1 (patch)
treed151f669a1b1f3f40c118e0cb86da94c10cbee18 /clutter
parentbe820e7fb29ebee0710a2f1890f5126e04d08803 (diff)
downloadclutter-d79204ec2764c01c891d88ace0ab6f95f0a3e5c1.tar.gz
actor: Use the correct return value
The get_z_rotation_gravity() method returns an enumeration value, not a floating point value. Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> https://bugzilla.gnome.org/show_bug.cgi?id=694187 (cherry picked from commit e4598a9e527174fbbdee7341381a681b48ac762f) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
Diffstat (limited to 'clutter')
-rw-r--r--clutter/clutter-actor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 85000e5e2..f59ec92d0 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -11966,7 +11966,7 @@ clutter_actor_get_z_rotation_gravity (ClutterActor *self)
{
const ClutterTransformInfo *info;
- g_return_val_if_fail (CLUTTER_IS_ACTOR (self), 0.0);
+ g_return_val_if_fail (CLUTTER_IS_ACTOR (self), CLUTTER_GRAVITY_NONE);
info = _clutter_actor_get_transform_info_or_defaults (self);