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,
|
||||
allocation);
|
||||
|
||||
return clutter_actor_box_equal (allocation, &old_alloc);
|
||||
return !clutter_actor_box_equal (allocation, &old_alloc);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user