mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
constraints: Do not check for :enabled
ClutterActor will do it for us.
This commit is contained in:
parent
3f27afde24
commit
5c82b2551c
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user