[glib/gdbus-merge] Document length parameter of g_settings_get/set_strv
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/gdbus-merge] Document length parameter of g_settings_get/set_strv
- Date: Sun, 9 May 2010 00:14:00 +0000 (UTC)
commit 9164fd02c9043baee99199a3ba33c98e2309dc00
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 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
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]