GObject: add g_object_take_ref()

This works in the same way as g_variant_take_ref(), and for the same
reason.

Updated and Rebased by Nitin Wartkar <nitinwartkar58@gmail.com>

Closes #1112
This commit is contained in:
Allison Ryan Lortie
2021-06-10 10:26:41 +05:30
committed by nitinosiris
parent c816ee5bd1
commit 3764c6730e
4 changed files with 73 additions and 0 deletions

View File

@@ -268,6 +268,7 @@ GParameter
g_object_ref
g_object_unref
g_object_ref_sink
g_object_take_ref
g_set_object
g_clear_object
GInitiallyUnowned