mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
script-parser: Apply child and layout properties to the right actor
http://bugzilla.clutter-project.org/show_bug.cgi?id=2285 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
parent
2e12768e3c
commit
cb58f1f68c
@ -1773,7 +1773,6 @@ _clutter_script_check_unresolved (ClutterScript *script,
|
||||
if (parent != NULL && CLUTTER_IS_CONTAINER (parent))
|
||||
{
|
||||
ClutterContainer *container = CLUTTER_CONTAINER (parent);
|
||||
ClutterActor *actor = CLUTTER_ACTOR (oinfo->object);
|
||||
GList *children, *l;
|
||||
|
||||
children = clutter_container_get_children (container);
|
||||
@ -1793,10 +1792,10 @@ _clutter_script_check_unresolved (ClutterScript *script,
|
||||
continue;
|
||||
|
||||
apply_child_properties (script, container,
|
||||
actor,
|
||||
CLUTTER_ACTOR (child),
|
||||
child_info);
|
||||
apply_layout_properties (script, container,
|
||||
actor,
|
||||
CLUTTER_ACTOR (child),
|
||||
child_info);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user