actor: Fix a type check thinko in add_action_with_name()

This commit is contained in:
Emmanuele Bassi 2010-05-26 14:16:48 +01:00
parent 09659ea18d
commit 5677cf671c

View File

@ -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);