summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2013-09-29 23:21:45 +0200
committerStefano Karapetsas <[email protected]>2013-10-03 13:56:48 +0200
commit73a4c2c913b6b0ba94760978940f30f43c51443f (patch)
tree8a189b96ba31dd47b9f65840a7c6c68ae0640c8c /src
parentc7d5cb7d295716343e257a419f2479fcc32e6eff (diff)
downloadmate-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
Diffstat (limited to 'src')
-rw-r--r--src/gpm-control.c2
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);