[seahorse-nautilus] Add correct flag for reaping the progress child
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse-nautilus] Add correct flag for reaping the progress child
- Date: Fri, 16 Aug 2013 17:26:53 +0000 (UTC)
commit c41f07cf5785b2d755b85f20bf0546c6ce2ebb02
Author: Stef Walter <stefw redhat com>
Date: Fri Aug 16 19:24:11 2013 +0200
Add correct flag for reaping the progress child
This fixes the WARNING about ECHILD that comes from some versions
of glib. The WARNING was removed in later versions of glib, but this
is also a good fix.
https://bugzilla.gnome.org/show_bug.cgi?id=697895
tool/seahorse-tool-progress.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tool/seahorse-tool-progress.c b/tool/seahorse-tool-progress.c
index 613e82f..c039118 100644
--- a/tool/seahorse-tool-progress.c
+++ b/tool/seahorse-tool-progress.c
@@ -217,7 +217,7 @@ seahorse_tool_progress_start (const gchar *title)
argv[2] = (gchar *)title;
argv[3] = NULL;
- ret = g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_STDOUT_TO_DEV_NULL | G_SPAWN_SEARCH_PATH,
+ ret = g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_STDOUT_TO_DEV_NULL | G_SPAWN_SEARCH_PATH |
G_SPAWN_DO_NOT_REAP_CHILD,
NULL, NULL, &progress_pid, &progress_fd, NULL, NULL, &err);
if (!ret) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]