Various doc tweaks
[platform/upstream/glib.git] / gio / gapplicationcommandline.c
index 853cde2..c52398c 100644 (file)
@@ -33,8 +33,7 @@ G_DEFINE_TYPE (GApplicationCommandLine, g_application_command_line, G_TYPE_OBJEC
 /**
  * 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
@@ -111,7 +110,8 @@ grok_platform_data (GApplicationCommandLine *cmdline)
     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);
       }
 }
 
@@ -334,6 +334,7 @@ g_application_command_line_get_environ (GApplicationCommandLine *cmdline)
 /**
  * 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