glib r7280 - trunk/gobject



Author: matthiasc
Date: Fri Aug  1 18:36:01 2008
New Revision: 7280
URL: http://svn.gnome.org/viewvc/glib?rev=7280&view=rev

Log:
Clarify some docs


Modified:
   trunk/gobject/ChangeLog
   trunk/gobject/gvaluetypes.c

Modified: trunk/gobject/gvaluetypes.c
==============================================================================
--- trunk/gobject/gvaluetypes.c	(original)
+++ trunk/gobject/gvaluetypes.c	Fri Aug  1 18:36:01 2008
@@ -909,7 +909,7 @@
 /**
  * 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_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.
  *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]