summaryrefslogtreecommitdiff
path: root/mate-session/gsm-logout-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-session/gsm-logout-dialog.c')
-rw-r--r--mate-session/gsm-logout-dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c
index 9eb9366..97f7560 100644
--- a/mate-session/gsm-logout-dialog.c
+++ b/mate-session/gsm-logout-dialog.c
@@ -247,14 +247,14 @@ gsm_logout_supports_switch_user (GsmLogoutDialog *logout_dialog)
{
GSettings *settings;
gboolean ret = FALSE;
- gboolean locked;
+ gboolean locked;
settings = g_settings_new (LOCKDOWN_SCHEMA);
- locked = g_settings_get_boolean (settings, KEY_USER_SWITCHING_DISABLE);
- g_object_unref (settings);
+ locked = g_settings_get_boolean (settings, KEY_USER_SWITCHING_DISABLE);
+ g_object_unref (settings);
- if (!locked) {
+ if (!locked) {
#ifdef HAVE_SYSTEMD
if (LOGIND_RUNNING())
ret = gsm_systemd_can_switch_user (logout_dialog->priv->systemd);