Clarify some docs

svn path=/trunk/; revision=7280
This commit is contained in:
Matthias Clasen 2008-08-01 18:36:01 +00:00
parent a1c45bd9ae
commit 63802ac67d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-08-01 Matthias Clasen <mclasen@redhat.com>
* gvaluetypes.c: Clarify the docs of some GValue setters.
2008-07-27 Tor Lillqvist <tml@novell.com>
* gtype.h

View File

@ -909,7 +909,7 @@ g_value_get_double (const GValue *value)
/**
* g_value_set_string:
* @value: a valid #GValue of type %G_TYPE_STRING
* @v_string: string to be set
* @v_string: caller-owned string to be duplicated for the #GValue
*
* Set the contents of a %G_TYPE_STRING #GValue to @v_string.
*/
@ -971,7 +971,7 @@ g_value_set_string_take_ownership (GValue *value,
/**
* g_value_take_string:
* @value: a valid #GValue of type %G_TYPE_STRING
* @v_string: duplicated unowned string to be set
* @v_string: string to take ownership of
*
* Sets the contents of a %G_TYPE_STRING #GValue to @v_string.
*