mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +01:00
Document length parameter of g_settings_get/set_strv
This parameter was not mentioned in the doc comment, as pointed out in bug 617767.
This commit is contained in:
parent
f1855c2f77
commit
9164fd02c9
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user