mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Better documentation for g_value_dup_object().
State that NULL is returned when value is NULL.
This commit is contained in:
parent
59cbb3a8a3
commit
6cd08472b2
@ -3214,7 +3214,8 @@ g_value_get_object (const GValue *value)
|
||||
* @value: a valid #GValue whose type is derived from %G_TYPE_OBJECT
|
||||
*
|
||||
* Get the contents of a %G_TYPE_OBJECT derived #GValue, increasing
|
||||
* its reference count.
|
||||
* its reference count. If the contents of the #GValue are %NULL, then
|
||||
* %NULL will be returned.
|
||||
*
|
||||
* Returns: (type GObject.Object) (transfer full): object content of @value,
|
||||
* should be unreferenced when no longer needed.
|
||||
|
Loading…
Reference in New Issue
Block a user