Document length parameter of g_settings_get/set_strv
authorMatthias Clasen <mclasen@redhat.com>
Sun, 9 May 2010 00:10:57 +0000 (20:10 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 9 May 2010 00:10:57 +0000 (20:10 -0400)
This parameter was not mentioned in the doc comment, as pointed
out in bug 617767.

gio/gsettings.c

index 801f570..4878645 100644 (file)
@@ -1788,6 +1788,7 @@ g_settings_set_boolean (GSettings  *settings,
  * g_settings_get_strv:
  * @settings: a #GSettings object
  * @key: the key to get the value for
+ * @length: return location for the length of the result, or %NULL
  * @returns: a newly-allocated, %NULL-terminated array of strings
  *
  * Gets the value that is stored at @key in @settings.
@@ -1819,6 +1820,7 @@ g_settings_get_strv (GSettings   *settings,
  * @settings: a #GSettings object
  * @key: the name of the key to set
  * @value: the value to set it to
+ * @length: the length of the @value array, or -1
  * @returns: %TRUE if setting the key succeeded,
  *     %FALSE if the key was not writable
  *