constraints: Do not check for :enabled

ClutterActor will do it for us.
This commit is contained in:
Emmanuele Bassi 2010-10-12 14:09:17 +01:00
parent 3f27afde24
commit 5c82b2551c
2 changed files with 0 additions and 6 deletions

View File

@ -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);

View File

@ -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);