loginManager: Fix canSuspend in non-logind path

It is supposed to be a NOP, but commit b91d9c2867 got it wrong.

https://bugzilla.gnome.org/show_bug.cgi?id=693162
This commit is contained in:
Florian Müllner 2013-02-08 08:38:36 +01:00
parent 33f69481f7
commit 1bf996c705

View File

@ -222,7 +222,7 @@ const LoginManagerConsoleKit = new Lang.Class({
},
canSuspend: function(asyncCallback) {
return false;
asyncCallback(false);
},
powerOff: function() {