From 5c82b2551c2053f76bfb09b6d36a5ea4c4e93104 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 12 Oct 2010 14:09:17 +0100 Subject: [PATCH] constraints: Do not check for :enabled ClutterActor will do it for us. --- clutter/clutter-align-constraint.c | 3 --- clutter/clutter-bind-constraint.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/clutter/clutter-align-constraint.c b/clutter/clutter-align-constraint.c index 62e3a09e8..3c1a8bfc2 100644 --- a/clutter/clutter-align-constraint.c +++ b/clutter/clutter-align-constraint.c @@ -128,9 +128,6 @@ clutter_align_constraint_update_allocation (ClutterConstraint *constraint, if (align->source == NULL) return; - if (!clutter_actor_meta_get_enabled (meta)) - return; - clutter_actor_get_position (align->source, &source_x, &source_y); clutter_actor_get_size (align->source, &source_width, &source_height); diff --git a/clutter/clutter-bind-constraint.c b/clutter/clutter-bind-constraint.c index b4f46a2d7..f68cbaa07 100644 --- a/clutter/clutter-bind-constraint.c +++ b/clutter/clutter-bind-constraint.c @@ -160,9 +160,6 @@ clutter_bind_constraint_update_allocation (ClutterConstraint *constraint, if (bind->source == NULL) return; - if (!clutter_actor_meta_get_enabled (meta)) - return; - source_position.x = clutter_actor_get_x (bind->source); source_position.y = clutter_actor_get_y (bind->source); clutter_actor_get_size (bind->source, &source_width, &source_height);