From cd33dc7f2285f8b0eb535fb22f9db8c0ea809e75 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 16 Oct 2009 10:40:42 -0400 Subject: [PATCH] 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 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shell-gconf.c b/src/shell-gconf.c index fab0ac695..2d065512b 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.