mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
constraint: Fix update_allocation()'s return value
The update_allocation() method returns TRUE if the allocation was changed.
This commit is contained in:
parent
1fe391606d
commit
8df2efca6b
@ -221,7 +221,7 @@ clutter_constraint_update_allocation (ClutterConstraint *constraint,
|
|||||||
actor,
|
actor,
|
||||||
allocation);
|
allocation);
|
||||||
|
|
||||||
return clutter_actor_box_equal (allocation, &old_alloc);
|
return !clutter_actor_box_equal (allocation, &old_alloc);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user