/**
* SECTION:gapplicationcommandline
* @title: GApplicationCommandLine
- * @short_description: A class representing a command-line invocation of
- * an application
+ * @short_description: A command-line invocation of an application
* @see_also: #GApplication
*
* #GApplicationCommandLine represents a command-line invocation of
else if (strcmp (key, "environ") == 0)
{
if (!cmdline->priv->environ)
- cmdline->priv->environ = g_variant_get_strv (value, NULL);
+ cmdline->priv->environ =
+ g_variant_get_bytestring_array (value, NULL);
}
}
/**
* g_application_command_line_getenv:
* @cmdline: a #GApplicationCommandLine
+ * @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