[clutter/clutter-1.22] constraint: Fix update_allocation()'s return value
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.22] constraint: Fix update_allocation()'s return value
- Date: Tue, 16 Dec 2014 00:47:55 +0000 (UTC)
commit 8df2efca6b6bf36ba65ed5ac60700793b00ce278
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Dec 16 00:46:16 2014 +0000
constraint: Fix update_allocation()'s return value
The update_allocation() method returns TRUE if the allocation was
changed.
clutter/clutter-constraint.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-constraint.c b/clutter/clutter-constraint.c
index 61ad2ae..2e7eb76 100644
--- a/clutter/clutter-constraint.c
+++ b/clutter/clutter-constraint.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]