This method is similar to g_value_unset() but will accept an uninitialized (zero-filled) GValue structure.
https://bugzilla.gnome.org/show_bug.cgi?id=755766
1233962 gvalue: Add g_value_clear method
docs/reference/gobject/gobject-sections.txt | 1 +
gobject/gvalue.c | 20 ++++++++++++++++++++
gobject/gvalue.h | 2 ++
3 files changed, 23 insertions(+)
Upstream: git.gnome.org