*/
if ((!clutter_feature_available (CLUTTER_FEATURE_STAGE_STATIC)))
{
- ClutterActorClass *klass;
-
CLUTTER_NOTE (LAYOUT,
"Following allocation to %dx%d (origin %s)",
width, height,
origin_changed ? "changed" : "not changed");
- klass = CLUTTER_ACTOR_CLASS (clutter_stage_parent_class);
- klass->allocate (self, box, flags);
+ clutter_actor_set_allocation (self, box, flags);
/* Ensure the window is sized correctly */
if (!priv->is_fullscreen)
else
{
ClutterActorBox override = { 0, };
- ClutterActorClass *klass;
/* override the passed allocation */
override.x1 = 0;
origin_changed ? "changed" : "not changed");
/* and store the overridden allocation */
- klass = CLUTTER_ACTOR_CLASS (clutter_stage_parent_class);
- klass->allocate (self, &override, flags);
+ clutter_actor_set_allocation (self, &override, flags);
}
/* XXX: Until Cogl becomes fully responsible for backend windows