[glib/wip/gsubprocess] GSubprocess: [rebase] address mclasen's comments
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gsubprocess] GSubprocess: [rebase] address mclasen's comments
- Date: Fri, 25 May 2012 00:30:03 +0000 (UTC)
commit 33ce00715d20f91c6f948db8d298ebcd12e1327b
Author: Colin Walters <walters verbum org>
Date: Thu May 24 20:29:24 2012 -0400
GSubprocess: [rebase] address mclasen's comments
gio/gsubprocess.c | 6 +++---
gio/gsubprocess.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/gsubprocess.c b/gio/gsubprocess.c
index 05296a8..e3e4166 100644
--- a/gio/gsubprocess.c
+++ b/gio/gsubprocess.c
@@ -148,9 +148,9 @@ g_subprocess_finalize (GObject *object)
{
GSubprocess *self = G_SUBPROCESS (object);
- if (self->state > G_SUBPROCESS_STATE_BUILDING
- && !self->detached
- && !self->reaped_child)
+ if (self->state > G_SUBPROCESS_STATE_BUILDING &&
+ !self->detached &&
+ !self->reaped_child)
{
#ifdef G_OS_UNIX
/* Here we need to actually call waitpid() to clean up the
diff --git a/gio/gsubprocess.h b/gio/gsubprocess.h
index cbb5eab..c6672fe 100644
--- a/gio/gsubprocess.h
+++ b/gio/gsubprocess.h
@@ -235,7 +235,7 @@ gboolean g_subprocess_request_exit (GSubprocess *self);
GLIB_AVAILABLE_IN_2_34
void g_subprocess_force_exit (GSubprocess *self);
-/**** High level wrapers ****/
+/**** High level wrappers ****/
GLIB_AVAILABLE_IN_2_34
gboolean g_subprocess_run_sync_get_output_bytes (GSubprocess *self,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]