summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2015-03-19 22:37:24 -0400
committerRay Strode <rstrode@redhat.com>2015-03-25 15:44:41 -0400
commitfb9383c2cc639430b211b7f11af948a2e9a643b5 (patch)
treef473dd01a29a22fec994abde18e10ce219655ff0
parentc9b066030a632d84ec02d0c942bf8a25968bf873 (diff)
downloadgdm-fb9383c2cc639430b211b7f11af948a2e9a643b5.tar.gz
manager: don't block on plymouth quitting
plymouth can quit in the background, the only thing we need to block synchronously on is it deactivating. https://bugzilla.gnome.org/show_bug.cgi?id=746498
-rw-r--r--daemon/gdm-simple-slave.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index 04212d2c..4358ba88 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -379,8 +379,7 @@ plymouth_quit_with_transition (GdmSimpleSlave *slave)
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);
@@ -395,8 +394,7 @@ plymouth_quit_without_transition (GdmSimpleSlave *slave)
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);