From 5677cf671cbca78361c3a4606790d8dcc6ddbc40 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 26 May 2010 14:16:48 +0100 Subject: [PATCH] actor: Fix a type check thinko in add_action_with_name() --- 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 d60ae0c08..10130decc 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -10559,7 +10559,7 @@ clutter_actor_add_action_with_name (ClutterActor *self, { g_return_if_fail (CLUTTER_IS_ACTOR (self)); g_return_if_fail (name != NULL); - g_return_if_fail (CLUTTER_IS_ACTION (self)); + g_return_if_fail (CLUTTER_IS_ACTION (action)); clutter_actor_meta_set_name (CLUTTER_ACTOR_META (action), name); clutter_actor_add_action (self, action);