Clarify some docs
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 1 Aug 2008 18:36:01 +0000 (18:36 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 1 Aug 2008 18:36:01 +0000 (18:36 +0000)
svn path=/trunk/; revision=7280

gobject/ChangeLog
gobject/gvaluetypes.c

index 9735b20..37b6b56 100644 (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
index 0cd4852..5713e48 100644 (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.
  *