After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752552 - typo in meta-feedback-anchor.c
typo in meta-feedback-anchor.c
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2015-07-18 04:43 UTC by Matthias Clasen
Modified: 2015-07-20 21:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2015-07-18 04:43:26 UTC
coverity pointed this out in line 190 of meta-feeback-actor.c:

  if (priv->anchor_x != anchor_y)
    {
      priv->anchor_x = anchor_x;
      g_object_notify (G_OBJECT (self), "anchor-x");
    }

  if (priv->anchor_y != anchor_y)
    {
      priv->anchor_y = anchor_y;
      g_object_notify (G_OBJECT (self), "anchor-y");
    }

Clearly, the first condition was meant to be priv->anchor_x != anchor_x