From ad51c52b695d5eef3de51ad687ba7346df19917f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 20 Jul 2015 17:39:09 -0400 Subject: [PATCH 2/2] feedback actor: Fix a typo The code for setting an anchor was comparing apples and oranges. This was pointed out by coverity. https://bugzilla.gnome.org/show_bug.cgi?id=752552 --- src/compositor/meta-feedback-actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor/meta-feedback-actor.c b/src/compositor/meta-feedback-actor.c index b162584..72658aa 100644 --- a/src/compositor/meta-feedback-actor.c +++ b/src/compositor/meta-feedback-actor.c @@ -187,7 +187,7 @@ meta_feedback_actor_set_anchor (MetaFeedbackActor *self, if (priv->anchor_x == anchor_x && priv->anchor_y == anchor_y) return; - if (priv->anchor_x != anchor_y) + if (priv->anchor_x != anchor_x) { priv->anchor_x = anchor_x; g_object_notify (G_OBJECT (self), "anchor-x"); -- 2.4.5