From e8bc8c6cbf86ee07a56f3eaa9fdb44b97ad12c6d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 8 May 2010 20:10:57 -0400 Subject: [PATCH] Document length parameter of g_settings_get/set_strv This parameter was not mentioned in the doc comment, as pointed out in bug 617767. --- gio/gsettings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gio/gsettings.c b/gio/gsettings.c index fc98176..8f77c8f 100644 --- a/gio/gsettings.c +++ b/gio/gsettings.c @@ -1791,6 +1791,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. @@ -1822,6 +1823,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 * -- 2.7.4