constraint: Fix update_allocation()'s return value

The update_allocation() method returns TRUE if the allocation was
changed.
This commit is contained in:
Emmanuele Bassi 2014-12-16 00:46:16 +00:00
parent 1fe391606d
commit 8df2efca6b
1 changed files with 1 additions and 1 deletions

View File

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