gatomic: fix typo in deprecation attribute
[platform/upstream/glib.git] / glib / gstring.c
index d9a5fdd..f5890bf 100644 (file)
@@ -132,7 +132,8 @@ g_string_sized_new (gsize dfl_size)
 
 /**
  * g_string_new:
- * @init: the initial text to copy into the string
+ * @init: (allow-none): the initial text to copy into the string, or %NULL to
+ * start with an empty string.
  *
  * Creates a new #GString, initialized with the given string.
  *