summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-01 04:18:57 -0700
committerStefano Karapetsas <[email protected]>2013-10-01 04:18:57 -0700
commitb660d85a8e1bd5dc21eb0de619510cad7229bcd2 (patch)
treee4fdd4842e85569fc6938d0ecfd3ed2f90e42e09
parent753b74787e629905f9fdda268c5425471087faa6 (diff)
parent3908c55155652719c630537c73911590e1f42cc9 (diff)
downloadmate-power-manager-b660d85a8e1bd5dc21eb0de619510cad7229bcd2.tar.bz2
mate-power-manager-b660d85a8e1bd5dc21eb0de619510cad7229bcd2.tar.xz
Merge pull request #77 from NiceandGently/master
fix typo in gpm_control_suspend, gpm-control.c
-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);