summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemon/gdm-manager.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 902810b3..8c36e064 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -189,8 +189,7 @@ plymouth_quit_with_transition (void)
GError *error;
error = NULL;
- res = g_spawn_command_line_sync ("/bin/plymouth quit --retain-splash",
- NULL, NULL, NULL, &error);
+ res = g_spawn_command_line_async ("/bin/plymouth quit --retain-splash", &error);
if (! res) {
g_warning ("Could not quit plymouth: %s", error->message);
g_error_free (error);
@@ -204,8 +203,7 @@ plymouth_quit_without_transition (void)
GError *error;
error = NULL;
- res = g_spawn_command_line_sync ("/bin/plymouth quit",
- NULL, NULL, NULL, &error);
+ res = g_spawn_command_line_async ("/bin/plymouth quit", &error);
if (! res) {
g_warning ("Could not quit plymouth: %s", error->message);
g_error_free (error);