diff options
author | Laurent Napias <[email protected]> | 2019-06-29 12:00:25 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-07-03 20:46:26 +0200 |
commit | ad42988835497e1840dc7c7e2601d9592a292be7 (patch) | |
tree | 0e3b001398970711fa0fefa56f990cb269cb704e /mate-session/gsm-manager.c | |
parent | 891f9d9df86f98ef6c6ad3f92b7fc1be2f047a2a (diff) | |
download | mate-session-manager-ad42988835497e1840dc7c7e2601d9592a292be7.tar.bz2 mate-session-manager-ad42988835497e1840dc7c7e2601d9592a292be7.tar.xz |
Remove trailing whitespaces
Diffstat (limited to 'mate-session/gsm-manager.c')
-rw-r--r-- | mate-session/gsm-manager.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c index c9c4e29..5ce5158 100644 --- a/mate-session/gsm-manager.c +++ b/mate-session/gsm-manager.c @@ -708,7 +708,7 @@ _start_app (const char *id, delay = gsm_app_peek_autostart_delay (app); if (delay > 0) { - g_timeout_add_seconds (delay, + g_timeout_add_seconds (delay, (GSourceFunc)_autostart_delay_timeout, g_object_ref (app)); g_debug ("GsmManager: %s is scheduled to start in %d seconds", id, delay); @@ -1168,12 +1168,12 @@ manager_switch_user (GsmManager *manager) command = g_strdup_printf ("%s %s", GDM_FLEXISERVER_COMMAND, GDM_FLEXISERVER_ARGS); - + error = NULL; res = g_spawn_command_line_sync (command, NULL, NULL, NULL, &error); g_free (command); - + if (! res) { g_debug ("GsmManager: Unable to start GDM greeter: %s", error->message); g_error_free (error); @@ -3554,9 +3554,9 @@ gsm_manager_request_shutdown (GsmManager *manager, { GsmManagerPrivate *priv; g_debug ("GsmManager: RequestShutdown called"); - + g_return_val_if_fail(GSM_IS_MANAGER (manager), FALSE); - + priv = gsm_manager_get_instance_private (manager); if (priv->phase != GSM_MANAGER_PHASE_RUNNING) { g_set_error (error, @@ -3565,9 +3565,9 @@ gsm_manager_request_shutdown (GsmManager *manager, "RequestShutdown interface is only available during the Running phase"); return FALSE; } - + request_shutdown (manager); - + return TRUE; } @@ -3578,9 +3578,9 @@ gsm_manager_request_reboot (GsmManager *manager, GsmManagerPrivate *priv; g_debug ("GsmManager: RequestReboot called"); - + g_return_val_if_fail (GSM_IS_MANAGER (manager), FALSE); - + priv = gsm_manager_get_instance_private (manager); if (priv->phase != GSM_MANAGER_PHASE_RUNNING) { g_set_error (error, @@ -3589,9 +3589,9 @@ gsm_manager_request_reboot (GsmManager *manager, "RequestReboot interface is only available during the running phase"); return FALSE; } - + request_reboot (manager); - + return TRUE; } |