mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
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
This commit is contained in:
parent
1b22da0039
commit
ad51c52b69
@ -187,7 +187,7 @@ meta_feedback_actor_set_anchor (MetaFeedbackActor *self,
|
|||||||
if (priv->anchor_x == anchor_x && priv->anchor_y == anchor_y)
|
if (priv->anchor_x == anchor_x && priv->anchor_y == anchor_y)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (priv->anchor_x != anchor_y)
|
if (priv->anchor_x != anchor_x)
|
||||||
{
|
{
|
||||||
priv->anchor_x = anchor_x;
|
priv->anchor_x = anchor_x;
|
||||||
g_object_notify (G_OBJECT (self), "anchor-x");
|
g_object_notify (G_OBJECT (self), "anchor-x");
|
||||||
|
Loading…
Reference in New Issue
Block a user