[clutter] stage: Restore the chain up inside allocate()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] stage: Restore the chain up inside allocate()
- Date: Fri, 20 Jan 2012 14:57:00 +0000 (UTC)
commit 3ff502fbb2d4d43813190141181060dd79801cd4
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Fri Jan 20 14:55:57 2012 +0000
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c
index 0089361..df7535a 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]