[clutter] actor: Fix a compiler warning
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] actor: Fix a compiler warning
- Date: Mon, 23 Mar 2015 13:25:11 +0000 (UTC)
commit d362e373bbac6a277aff79f4304721eccde13060
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Mar 23 13:24:05 2015 +0000
actor: Fix a compiler warning
clutter/clutter-actor.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index f379570..df43e4d 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -9682,10 +9682,11 @@ clutter_actor_update_constraints (ClutterActor *self,
{
ClutterConstraint *constraint = l->data;
ClutterActorMeta *meta = l->data;
+ gboolean changed = FALSE;
if (clutter_actor_meta_get_enabled (meta))
{
- gboolean changed =
+ changed |=
clutter_constraint_update_allocation (constraint,
self,
allocation);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]