From 59a9786942c7cfae9b6ba138cf76ba658709fedb Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 11 Aug 2010 11:39:24 +0100 Subject: [PATCH] actor: Use box origin instead of direct access --- clutter/clutter-actor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index 9eaba8fd6..7443160d1 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -10150,14 +10150,14 @@ clutter_actor_allocate_align_fill (ClutterActor *self, if (!x_fill) { - allocation.x1 = box->x1 + allocation.x1 = x_offset + ((available_width - child_width) * x_align); allocation.x2 = allocation.x1 + child_width; } if (!y_fill) { - allocation.y1 = box->y1 + allocation.y1 = y_offset + ((available_height - child_height) * y_align); allocation.y2 = allocation.y1 + child_height; }