[gnome-shell] Annotate list setters
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] Annotate list setters
- Date: Fri, 16 Oct 2009 20:04:56 +0000 (UTC)
commit cd33dc7f2285f8b0eb535fb22f9db8c0ea809e75
Author: Colin Walters <walters verbum org>
Date: Fri Oct 16 10:40:42 2009 -0400
Annotate list setters
Without these bindings don't know the type of list elements.
https://bugzilla.gnome.org/show_bug.cgi?id=598691
src/shell-gconf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/shell-gconf.c b/src/shell-gconf.c
index fab0ac6..2d06551 100644
--- a/src/shell-gconf.c
+++ b/src/shell-gconf.c
@@ -355,7 +355,7 @@ SIMPLE_SETTER(shell_gconf_set_string, const char *, gconf_client_set_string)
* shell_gconf_set_boolean_list:
* @gconf: a #ShellGConf
* @key: a GConf key (as described in the #ShellGConf docs)
- * @value: (transfer none): value to set @key to
+ * @value: (transfer none) (element-type gboolean): value to set @key to
* @error: a #GError, which will be set on error
*
* Sets the value of @key to @value.
@@ -377,7 +377,7 @@ LIST_SETTER(shell_gconf_set_int_list, GCONF_VALUE_INT)
* shell_gconf_set_float_list:
* @gconf: a #ShellGConf
* @key: a GConf key (as described in the #ShellGConf docs)
- * @value: (transfer none): value to set @key to
+ * @value: (transfer none) (element-type float): value to set @key to
* @error: a #GError, which will be set on error
*
* Sets the value of @key to @value.
@@ -388,7 +388,7 @@ LIST_SETTER(shell_gconf_set_float_list, GCONF_VALUE_FLOAT)
* shell_gconf_set_string_list:
* @gconf: a #ShellGConf
* @key: a GConf key (as described in the #ShellGConf docs)
- * @value: (transfer none): value to set @key to
+ * @value: (transfer none) (element-type utf8): value to set @key to
* @error: a #GError, which will be set on error
*
* Sets the value of @key to @value.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]