diff options
author | Pavel Holejsovsky <pholejs@src.gnome.org> | 2011-08-19 10:34:37 +0200 |
---|---|---|
committer | Pavel Holejsovsky <pholejs@src.gnome.org> | 2011-08-19 11:44:41 +0200 |
commit | de6566b07d54dcfefff4d1e18239e7e865fd4a51 (patch) | |
tree | 2a5201448ca0559cb3b430b5681cfd8cad3620d5 /gobject | |
parent | 26548e05bbb9bc2278fabeee07f6601f39d1a4dc (diff) |
Add missing (allow-none) annotations to g_value_set_string functions
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/gvaluetypes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gobject/gvaluetypes.c b/gobject/gvaluetypes.c index dd3fa8560..a05ccd90b 100644 --- a/gobject/gvaluetypes.c +++ b/gobject/gvaluetypes.c @@ -985,7 +985,7 @@ g_value_get_double (const GValue *value) /** * g_value_set_string: * @value: a valid #GValue of type %G_TYPE_STRING - * @v_string: caller-owned string to be duplicated for the #GValue + * @v_string: (allow-none): caller-owned string to be duplicated for the #GValue * * Set the contents of a %G_TYPE_STRING #GValue to @v_string. */ @@ -1010,7 +1010,7 @@ g_value_set_string (GValue *value, /** * g_value_set_static_string: * @value: a valid #GValue of type %G_TYPE_STRING - * @v_string: static string to be set + * @v_string: (allow-none): static string to be set * * Set the contents of a %G_TYPE_STRING #GValue to @v_string. * The string is assumed to be static, and is thus not duplicated @@ -1031,7 +1031,7 @@ g_value_set_static_string (GValue *value, /** * g_value_set_string_take_ownership: * @value: a valid #GValue of type %G_TYPE_STRING - * @v_string: duplicated unowned string to be set + * @v_string: (allow-none): duplicated unowned string to be set * * This is an internal function introduced mainly for C marshallers. * @@ -1047,7 +1047,7 @@ g_value_set_string_take_ownership (GValue *value, /** * g_value_take_string: * @value: a valid #GValue of type %G_TYPE_STRING - * @v_string: string to take ownership of + * @v_string: (allow-none): string to take ownership of * * Sets the contents of a %G_TYPE_STRING #GValue to @v_string. * |