summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2013-09-29 23:21:45 +0200
committerWolfgang Ulbrich <[email protected]>2013-09-29 23:21:45 +0200
commit3908c55155652719c630537c73911590e1f42cc9 (patch)
treee4fdd4842e85569fc6938d0ecfd3ed2f90e42e09
parent753b74787e629905f9fdda268c5425471087faa6 (diff)
downloadmate-power-manager-3908c55155652719c630537c73911590e1f42cc9.tar.bz2
mate-power-manager-3908c55155652719c630537c73911590e1f42cc9.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpm-control.c b/src/gpm-control.c
index 8253336..ebf052a 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);