From 3ff502fbb2d4d43813190141181060dd79801cd4 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 20 Jan 2012 14:55:57 +0000 Subject: [PATCH] stage: Restore the chain up inside allocate() Group does not have a custom allocate() any more, so it would end up calling the default allocate() implementation provided by ClutterActor anyway. --- clutter/clutter-stage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c index 008936123..df7535a49 100644 --- a/clutter/clutter-stage.c +++ b/clutter/clutter-stage.c @@ -330,7 +330,7 @@ clutter_stage_allocate (ClutterActor *self, width, height, origin_changed ? "changed" : "not changed"); - clutter_actor_set_allocation (self, box, flags); + CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->allocate (self, box, flags); /* Ensure the window is sized correctly */ if (!priv->is_fullscreen) @@ -386,7 +386,7 @@ clutter_stage_allocate (ClutterActor *self, origin_changed ? "changed" : "not changed"); /* and store the overridden allocation */ - clutter_actor_set_allocation (self, &override, flags); + CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->allocate (self, &override, flags); } /* XXX: Until Cogl becomes fully responsible for backend windows