[gnome-builder] subprocess: add missing ide_subprocess_launcher_set_stdout_path()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] subprocess: add missing ide_subprocess_launcher_set_stdout_path()
- Date: Tue, 28 Feb 2017 23:30:37 +0000 (UTC)
commit c36643fbe0c163512861f17d792fb498b4e809d5
Author: Christian Hergert <chergert redhat com>
Date: Tue Feb 28 15:30:26 2017 -0800
subprocess: add missing ide_subprocess_launcher_set_stdout_path()
libide/subprocess/ide-subprocess-launcher.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/libide/subprocess/ide-subprocess-launcher.c b/libide/subprocess/ide-subprocess-launcher.c
index dafe9dd..e57ad4c 100644
--- a/libide/subprocess/ide-subprocess-launcher.c
+++ b/libide/subprocess/ide-subprocess-launcher.c
@@ -971,3 +971,18 @@ ide_subprocess_launcher_take_fd (IdeSubprocessLauncher *self,
g_array_append_val (priv->fd_mapping, map);
}
+
+void
+ide_subprocess_launcher_set_stdout_file_path (IdeSubprocessLauncher *self,
+ const gchar *stdout_file_path)
+{
+ IdeSubprocessLauncherPrivate *priv = ide_subprocess_launcher_get_instance_private (self);
+
+ g_return_if_fail (IDE_IS_SUBPROCESS_LAUNCHER (self));
+
+ if (g_strcmp0 (priv->stdout_file_path, stdout_file_path) != 0)
+ {
+ g_free (priv->stdout_file_path);
+ priv->stdout_file_path = g_strdup (stdout_file_path);
+ }
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]