summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-12-10 23:03:45 -0500
committerColin Walters <walters@verbum.org>2012-12-10 23:03:45 -0500
commit79ad77e45b5095494361e3f525a105708d8d0cb1 (patch)
treea954ddc56e13ce4298b1b5fc432b9475d81f7d2f
parenta4643adfb5b09a16fb703389aec86c5e321efb35 (diff)
downloadlibgsystem-79ad77e45b5095494361e3f525a105708d8d0cb1.tar.gz
subprocess: Annotate _set_environment()
So we treat it as an array.
-rw-r--r--gsystem-subprocess-context.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gsystem-subprocess-context.c b/gsystem-subprocess-context.c
index 2615d53..99ec74a 100644
--- a/gsystem-subprocess-context.c
+++ b/gsystem-subprocess-context.c
@@ -237,6 +237,14 @@ gs_subprocess_context_class_init (GSSubprocessContextClass *class)
/* Environment */
+/**
+ * gs_subprocess_context_set_environment:
+ * @self:
+ * @environ: (array zero-terminated=1) (element-type utf8): Environment KEY=VALUE pairs
+ *
+ * Replace the environment that will be used for the child process.
+ * The default is to inherit the current process.
+ */
void
gs_subprocess_context_set_environment (GSSubprocessContext *self,
gchar **environ)