From 17ff86f2da14ad6408a143ae6294cfabea17640d Mon Sep 17 00:00:00 2001 From: Scott Balneaves Date: Thu, 7 Jan 2016 09:21:16 -0600 Subject: [PATCH] Since default_session has no settor, only a gettor, no reason it shouldn't be marked ReadOnly --- src/lightdm-webkit2-greeter-ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lightdm-webkit2-greeter-ext.c b/src/lightdm-webkit2-greeter-ext.c index 96d5348..7dcae64 100644 --- a/src/lightdm-webkit2-greeter-ext.c +++ b/src/lightdm-webkit2-greeter-ext.c @@ -1022,7 +1022,7 @@ static const JSStaticValue lightdm_greeter_values[] = { {"layout", get_layout_cb, set_layout_cb, kJSPropertyAttributeNone}, {"sessions", get_sessions_cb, NULL, kJSPropertyAttributeReadOnly}, {"num_users", get_num_users_cb, NULL, kJSPropertyAttributeReadOnly}, - {"default_session", get_default_session_cb, NULL, kJSPropertyAttributeNone}, + {"default_session", get_default_session_cb, NULL, kJSPropertyAttributeReadOnly}, {"timed_login_user", get_timed_login_user_cb, NULL, kJSPropertyAttributeReadOnly}, {"timed_login_delay", get_timed_login_delay_cb, NULL, kJSPropertyAttributeReadOnly}, {"authentication_user", get_authentication_user_cb, NULL, kJSPropertyAttributeReadOnly},