[glib: 1/2] g_value_set_string description: clarified (unified), that v_string is a copy.




commit 1fc905efe406b27e34bced11d6be3f35cecaa40e
Author: DarkTrick <notebook22312 gmail com>
Date:   Wed Jun 23 05:50:59 2021 +0000

    g_value_set_string description: clarified (unified), that v_string is a copy.

 gobject/gvaluetypes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gobject/gvaluetypes.c b/gobject/gvaluetypes.c
index 732ea2b08..60d7b6647 100644
--- a/gobject/gvaluetypes.c
+++ b/gobject/gvaluetypes.c
@@ -1024,7 +1024,7 @@ g_value_get_double (const GValue *value)
  * @value: a valid #GValue of type %G_TYPE_STRING
  * @v_string: (nullable): caller-owned string to be duplicated for the #GValue
  *
- * Set the contents of a %G_TYPE_STRING #GValue to @v_string.
+ * Set the contents of a %G_TYPE_STRING #GValue to a copy of @v_string.
  */
 void
 g_value_set_string (GValue     *value,


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