summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-08-01 18:36:01 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-08-01 18:36:01 +0000
commit63802ac67db913cacedb2d7f01b5831374b16541 (patch)
tree8d725359cf3a1b2dec93496011dfc90a032662d2 /gobject
parenta1c45bd9ae7b3993672ace3a38f9ed5813bdb03c (diff)
Clarify some docs
svn path=/trunk/; revision=7280
Diffstat (limited to 'gobject')
-rw-r--r--gobject/ChangeLog4
-rw-r--r--gobject/gvaluetypes.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gobject/ChangeLog b/gobject/ChangeLog
index 9735b20f5..37b6b56c5 100644
--- a/gobject/ChangeLog
+++ b/gobject/ChangeLog
@@ -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
diff --git a/gobject/gvaluetypes.c b/gobject/gvaluetypes.c
index 0cd485289..5713e4835 100644
--- a/gobject/gvaluetypes.c
+++ b/gobject/gvaluetypes.c
@@ -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.
*