diff options
author | monsta <[email protected]> | 2017-02-27 17:26:25 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-02-27 17:26:25 +0300 |
commit | 7aa5d913573af7fbca7b240499ee0021656fccc3 (patch) | |
tree | 375ddcd864513093e0b7608f9f7feceaf3bbbb26 /mate-session | |
parent | 681230883ede0b8dd80340dae37e656cea786608 (diff) | |
download | mate-session-manager-7aa5d913573af7fbca7b240499ee0021656fccc3.tar.bz2 mate-session-manager-7aa5d913573af7fbca7b240499ee0021656fccc3.tar.xz |
fix indent of some #if's to match the rest of the file
Diffstat (limited to 'mate-session')
-rw-r--r-- | mate-session/gsm-manager.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c index 153e937..e4b4f86 100644 --- a/mate-session/gsm-manager.c +++ b/mate-session/gsm-manager.c @@ -467,7 +467,7 @@ gsm_manager_quit (GsmManager *manager) case GSM_MANAGER_LOGOUT_REBOOT_INTERACT: mdm_set_logout_action (MDM_LOGOUT_ACTION_NONE); - #ifdef HAVE_SYSTEMD +#ifdef HAVE_SYSTEMD if (LOGIND_RUNNING()) { systemd = gsm_get_systemd (); g_signal_connect (systemd, @@ -477,16 +477,16 @@ gsm_manager_quit (GsmManager *manager) gsm_systemd_attempt_restart (systemd); } else { - #endif +#endif consolekit = gsm_get_consolekit (); g_signal_connect (consolekit, "request-completed", G_CALLBACK (quit_request_completed_consolekit), GINT_TO_POINTER (MDM_LOGOUT_ACTION_REBOOT)); gsm_consolekit_attempt_restart (consolekit); - #ifdef HAVE_SYSTEMD +#ifdef HAVE_SYSTEMD } - #endif +#endif break; case GSM_MANAGER_LOGOUT_REBOOT_MDM: mdm_set_logout_action (MDM_LOGOUT_ACTION_REBOOT); @@ -496,7 +496,7 @@ gsm_manager_quit (GsmManager *manager) case GSM_MANAGER_LOGOUT_SHUTDOWN_INTERACT: mdm_set_logout_action (MDM_LOGOUT_ACTION_NONE); - #ifdef HAVE_SYSTEMD +#ifdef HAVE_SYSTEMD if (LOGIND_RUNNING()) { systemd = gsm_get_systemd (); g_signal_connect (systemd, @@ -506,16 +506,16 @@ gsm_manager_quit (GsmManager *manager) gsm_systemd_attempt_stop (systemd); } else { - #endif +#endif consolekit = gsm_get_consolekit (); g_signal_connect (consolekit, "request-completed", G_CALLBACK (quit_request_completed_consolekit), GINT_TO_POINTER (MDM_LOGOUT_ACTION_SHUTDOWN)); gsm_consolekit_attempt_stop (consolekit); - #ifdef HAVE_SYSTEMD +#ifdef HAVE_SYSTEMD } - #endif +#endif break; case GSM_MANAGER_LOGOUT_SHUTDOWN_MDM: mdm_set_logout_action (MDM_LOGOUT_ACTION_SHUTDOWN); |