diff --git a/clutter/clutter-script-parser.c b/clutter/clutter-script-parser.c index 0fe84162d..4bf40ae54 100644 --- a/clutter/clutter-script-parser.c +++ b/clutter/clutter-script-parser.c @@ -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); }