[glib] Document length parameter of g_settings_get/set_strv
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Document length parameter of g_settings_get/set_strv
- Date: Sun, 9 May 2010 00:16:17 +0000 (UTC)
commit e8bc8c6cbf86ee07a56f3eaa9fdb44b97ad12c6d
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 8 20:10:57 2010 -0400
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 files changed, 2 insertions(+), 0 deletions(-)
---
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
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]