diff options
author | Wolfgang Ulbrich <[email protected]> | 2013-09-29 23:21:45 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-10-03 13:56:48 +0200 |
commit | 73a4c2c913b6b0ba94760978940f30f43c51443f (patch) | |
tree | 8a189b96ba31dd47b9f65840a7c6c68ae0640c8c | |
parent | c7d5cb7d295716343e257a419f2479fcc32e6eff (diff) | |
download | mate-power-manager-73a4c2c913b6b0ba94760978940f30f43c51443f.tar.bz2 mate-power-manager-73a4c2c913b6b0ba94760978940f30f43c51443f.tar.xz |
fix typo in gpm_control_suspend, gpm-control.c
this fix 'suspend on lid close'
https://bugzilla.redhat.com/show_bug.cgi?id=1012718
-rw-r--r-- | src/gpm-control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpm-control.c b/src/gpm-control.c index cb84814..61fa487 100644 --- a/src/gpm-control.c +++ b/src/gpm-control.c @@ -221,7 +221,7 @@ gpm_control_suspend (GpmControl *control, GError **error) screensaver = gpm_screensaver_new (); - if (LOGIND_RUNNING()) { + if (!LOGIND_RUNNING()) { g_object_get (control->priv->client, "can-suspend", &allowed, NULL); |