mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
actor: Fix get_transition() method
We now store a closure, not directly a ClutterTransition instance.
This commit is contained in:
parent
9e1ec82838
commit
5e652b91d6
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user