script: Let ClutterActor parse behaviours
Up until now, the "behaviours" member of an actor definition was parsed by the ClutterScript parser itself - even though it's not strictly necessary. In an effort to minimize the ad hoc code in the Script parser, we should let ClutterActor handle all the special cases that involve actor-specific members.
This commit is contained in:
@ -308,9 +308,6 @@ object_info_free (gpointer data)
|
||||
g_list_foreach (oinfo->children, (GFunc) g_free, NULL);
|
||||
g_list_free (oinfo->children);
|
||||
|
||||
g_list_foreach (oinfo->behaviours, (GFunc) g_free, NULL);
|
||||
g_list_free (oinfo->behaviours);
|
||||
|
||||
/* we unref top-level objects and leave the actors alone,
|
||||
* unless we are unmerging in which case we have to destroy
|
||||
* the actor to unparent them
|
||||
|
Reference in New Issue
Block a user