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:
parent
33f69481f7
commit
1bf996c705
@ -222,7 +222,7 @@ const LoginManagerConsoleKit = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
canSuspend: function(asyncCallback) {
|
canSuspend: function(asyncCallback) {
|
||||||
return false;
|
asyncCallback(false);
|
||||||
},
|
},
|
||||||
|
|
||||||
powerOff: function() {
|
powerOff: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user