From b5ec049a2554621a68ef7ae00af780faf0316960 Mon Sep 17 00:00:00 2001 From: JezerM Date: Wed, 16 Jun 2021 23:39:46 -0600 Subject: [PATCH] Fixed some API problems --- web-greeter/bridge/Greeter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web-greeter/bridge/Greeter.py b/web-greeter/bridge/Greeter.py index b1ee258..75053b5 100644 --- a/web-greeter/bridge/Greeter.py +++ b/web-greeter/bridge/Greeter.py @@ -240,7 +240,7 @@ class Greeter(BridgeObject): @bridge.method(result=bool) def hibernate(self): - return LightDMGreeter.hibernate() + return LightDM.hibernate() @bridge.method(str) def respond(self, response): @@ -249,7 +249,7 @@ class Greeter(BridgeObject): @bridge.method(result=bool) def restart(self): - return LightDMGreeter.restart() + return LightDM.restart() @bridge.method(str) def set_language(self, lang): @@ -259,7 +259,7 @@ class Greeter(BridgeObject): @bridge.method(result=bool) def shutdown(self): - return LightDMGreeter.shutdown() + return LightDM.shutdown() @bridge.method(str, result=bool) def start_session(self, session): @@ -267,7 +267,7 @@ class Greeter(BridgeObject): @bridge.method(result=bool) def suspend(self): - return LightDMGreeter.suspend() + return LightDM.suspend()