From 9164fd02c9043baee99199a3ba33c98e2309dc00 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 801f570..4878645 100644 --- a/gio/gsettings.c +++ b/gio/gsettings.c @@ -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 * -- 2.7.4