[glib: 1/2] gsubprocesslauncher.c: fix documentation



commit 09e094a6767cf161badec6d724cf356e9a0ac7ca
Author: Sergio Costas <raster rastersoft com>
Date:   Thu Aug 29 00:15:03 2019 +0200

    gsubprocesslauncher.c: fix documentation
    
    The gobject introspection comments have a reference to an incorrect
    class: they have, as 'self', the GSubprocess class instead of
    GSubprocessLauncher.
    
    This patch fixes this.

 gio/gsubprocesslauncher.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gsubprocesslauncher.c b/gio/gsubprocesslauncher.c
index 12a5e44b2..8c2f1c179 100644
--- a/gio/gsubprocesslauncher.c
+++ b/gio/gsubprocesslauncher.c
@@ -227,7 +227,7 @@ g_subprocess_launcher_new (GSubprocessFlags flags)
 
 /**
  * g_subprocess_launcher_set_environ:
- * @self: a #GSubprocess
+ * @self: a #GSubprocessLauncher
  * @env: (array zero-terminated=1) (element-type filename) (transfer none):
  *     the replacement environment
  *
@@ -266,7 +266,7 @@ g_subprocess_launcher_set_environ (GSubprocessLauncher  *self,
 
 /**
  * g_subprocess_launcher_setenv:
- * @self: a #GSubprocess
+ * @self: a #GSubprocessLauncher
  * @variable: (type filename): the environment variable to set,
  *     must not contain '='
  * @value: (type filename): the new value for the variable
@@ -292,7 +292,7 @@ g_subprocess_launcher_setenv (GSubprocessLauncher *self,
 
 /**
  * g_subprocess_launcher_unsetenv:
- * @self: a #GSubprocess
+ * @self: a #GSubprocessLauncher
  * @variable: (type filename): the environment variable to unset,
  *     must not contain '='
  *
@@ -313,7 +313,7 @@ g_subprocess_launcher_unsetenv (GSubprocessLauncher *self,
 
 /**
  * g_subprocess_launcher_getenv:
- * @self: a #GSubprocess
+ * @self: a #GSubprocessLauncher
  * @variable: (type filename): the environment variable to get
  *
  * Returns the value of the environment variable @variable in the
@@ -336,7 +336,7 @@ g_subprocess_launcher_getenv (GSubprocessLauncher *self,
 
 /**
  * g_subprocess_launcher_set_cwd:
- * @self: a #GSubprocess
+ * @self: a #GSubprocessLauncher
  * @cwd: (type filename): the cwd for launched processes
  *
  * Sets the current working directory that processes will be launched


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]