Browse Source

remove deprecated lightdm.start_authentication method

sisyphus
Dustin Falgout 8 years ago
parent
commit
fc14528535
  1. 1
      src/webkit2-extension.c
  2. 4
      themes/_vendor/js/mock.js

1
src/webkit2-extension.c

@ -1350,7 +1350,6 @@ static const JSStaticFunction lightdm_greeter_functions[] = {
{"cancel_timed_login", cancel_autologin_cb, kJSPropertyAttributeReadOnly},
{"login", start_session_cb, kJSPropertyAttributeReadOnly},
{"provide_secret", respond_cb, kJSPropertyAttributeReadOnly},
{"start_authentication", authenticate_cb, kJSPropertyAttributeReadOnly},
{"start_session_sync", start_session_cb, kJSPropertyAttributeReadOnly},
/* -------->>> DEPRECATED! <<<---------------------->>> DEPRECATED! <<<---------*/
{NULL, NULL, 0}};

4
themes/_vendor/js/mock.js vendored

@ -26,7 +26,7 @@
*/
if ( 'undefined' !== typeof lightdm ) {
if ( 'lightdm' in window ) {
throw new Error('Cannot use LightDM Mock while the greeter is running!');
}
@ -851,7 +851,7 @@ MockData = () => ({
});
if ( ! lightdm in window ) {
if ( ! 'lightdm' in window ) {
new ConfigFile();
new GreeterUtil();
new LightDMGreeter();

Loading…
Cancel
Save