diff options
author | Ray Strode <rstrode@redhat.com> | 2018-08-14 14:52:41 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2021-07-22 13:42:57 -0400 |
commit | 495b4fc0d7c65f76b03108199085df4fca98618c (patch) | |
tree | 7adbeabeb82049e008451fc014c955b32fdc1d76 /daemon/gdm-session-settings.h | |
parent | 2a871da666afd3a5312e061b7933e7b62eb5ee39 (diff) | |
download | gdm-495b4fc0d7c65f76b03108199085df4fca98618c.tar.gz |
session: support new accountsservice Session and SessionType props
At the moment the user's session is stored in a property called
"XSession". This is pretty weird if the user is using wayland.
AccountService now supports a more generic property "Session" and
a related "SessionType" property to replace "XSession".
This commit switches GDM over to use the new properties.
Diffstat (limited to 'daemon/gdm-session-settings.h')
-rw-r--r-- | daemon/gdm-session-settings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/gdm-session-settings.h b/daemon/gdm-session-settings.h index 20946bff..db38ffc7 100644 --- a/daemon/gdm-session-settings.h +++ b/daemon/gdm-session-settings.h @@ -60,10 +60,13 @@ gboolean gdm_session_settings_save (GdmSessionSettings gboolean gdm_session_settings_is_loaded (GdmSessionSettings *settings); char *gdm_session_settings_get_language_name (GdmSessionSettings *settings); char *gdm_session_settings_get_session_name (GdmSessionSettings *settings); +char *gdm_session_settings_get_session_type (GdmSessionSettings *settings); void gdm_session_settings_set_language_name (GdmSessionSettings *settings, const char *language_name); void gdm_session_settings_set_session_name (GdmSessionSettings *settings, const char *session_name); +void gdm_session_settings_set_session_type (GdmSessionSettings *settings, + const char *session_type); G_END_DECLS #endif /* GDM_SESSION_SETTINGS_H */ |