summaryrefslogtreecommitdiff
path: root/gio/gapplicationcommandline.c
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2016-06-07 19:31:56 +0200
committerChristoph Reiter <creiter@src.gnome.org>2016-06-07 19:50:03 +0200
commit9ec74d20a7e89344fecfc7f994168ea30a6b8c5f (patch)
tree4859795868699a632b848b8b5814adefa0766b29 /gio/gapplicationcommandline.c
parentc9dd204909aa89648b29c5bd7e159bb32ebc2017 (diff)
downloadglib-9ec74d20a7e89344fecfc7f994168ea30a6b8c5f.tar.gz
Partly revert "gio: Add filename type annotations"
Revert all annotation changes for environment variables and command line arguments. See commit f8189ddf9869ed8e90f9b640d9545fe4011adb7d.
Diffstat (limited to 'gio/gapplicationcommandline.c')
-rw-r--r--gio/gapplicationcommandline.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gio/gapplicationcommandline.c b/gio/gapplicationcommandline.c
index 151ec5852..2c6718761 100644
--- a/gio/gapplicationcommandline.c
+++ b/gio/gapplicationcommandline.c
@@ -463,8 +463,8 @@ g_application_command_line_class_init (GApplicationCommandLineClass *class)
* The return value is %NULL-terminated and should be freed using
* g_strfreev().
*
- * Returns: (array length=argc) (element-type filename) (transfer full)
- * the string array containing the arguments (the argv)
+ * Returns: (array length=argc) (transfer full): the string array
+ * containing the arguments (the argv)
*
* Since: 2.28
**/
@@ -582,8 +582,8 @@ g_application_command_line_get_cwd (GApplicationCommandLine *cmdline)
* See g_application_command_line_getenv() if you are only interested
* in the value of a single environment variable.
*
- * Returns: (array zero-terminated=1) (element-type filename) (transfer none):
- * the environment strings, or %NULL if they were not sent
+ * Returns: (array zero-terminated=1) (transfer none): the environment
+ * strings, or %NULL if they were not sent
*
* Since: 2.28
**/
@@ -596,7 +596,7 @@ g_application_command_line_get_environ (GApplicationCommandLine *cmdline)
/**
* g_application_command_line_getenv:
* @cmdline: a #GApplicationCommandLine
- * @name: (type filename): the environment variable to get
+ * @name: the environment variable to get
*
* Gets the value of a particular environment variable of the command
* line invocation, as would be returned by g_getenv(). The strings may
@@ -805,7 +805,7 @@ g_application_command_line_get_platform_data (GApplicationCommandLine *cmdline)
/**
* g_application_command_line_create_file_for_arg:
* @cmdline: a #GApplicationCommandLine
- * @arg: (type filename): an argument from @cmdline
+ * @arg: an argument from @cmdline
*
* Creates a #GFile corresponding to a filename that was given as part
* of the invocation of @cmdline.