[gnome-builder/wip/gtk4-port] libide/foundry: be safer against previous values
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] libide/foundry: be safer against previous values
- Date: Fri, 24 Jun 2022 10:51:28 +0000 (UTC)
commit ce04e565ce1f5ce59a80cdb5678a0a95db189c73
Author: Christian Hergert <chergert redhat com>
Date: Fri Jun 24 03:50:53 2022 -0700
libide/foundry: be safer against previous values
src/libide/foundry/ide-run-context.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/foundry/ide-run-context.c b/src/libide/foundry/ide-run-context.c
index ae9df3d54..92c4bd29c 100644
--- a/src/libide/foundry/ide-run-context.c
+++ b/src/libide/foundry/ide-run-context.c
@@ -362,7 +362,7 @@ ide_run_context_expansion_handler (IdeRunContext *self,
g_array_append_val (newenv, expanded);
}
- ide_run_context_set_environ (self, (const char * const *)(gpointer)newenv->data);
+ ide_run_context_add_environ (self, (const char * const *)(gpointer)newenv->data);
}
if (argv != NULL)
@@ -375,7 +375,7 @@ ide_run_context_expansion_handler (IdeRunContext *self,
g_array_append_val (newargv, expanded);
}
- ide_run_context_set_argv (self, (const char * const *)(gpointer)newargv->data);
+ ide_run_context_append_args (self, (const char * const *)(gpointer)newargv->data);
}
IDE_RETURN (TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]