actor: Fix get_transition() method

We now store a closure, not directly a ClutterTransition instance.
This commit is contained in:
Emmanuele Bassi 2012-03-15 17:31:36 +00:00
parent 9e1ec82838
commit 5e652b91d6

View File

@ -17132,7 +17132,11 @@ clutter_actor_get_transition (ClutterActor *self,
if (info->transitions == NULL)
return NULL;
return g_hash_table_lookup (info->transitions, name);
clos = g_hash_table_lookup (info->transitions, name);
if (clos == NULL)
return NULL;
return clos->transition;
}
/**