mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
New function: g_clear_object()
By analogy to g_clear_error, takes a pass-by-reference GObject reference and, if non-%NULL, unrefs it and sets it equal to %NULL. Bug #620263.
This commit is contained in:
@@ -257,6 +257,7 @@ GParameter
|
||||
g_object_ref
|
||||
g_object_unref
|
||||
g_object_ref_sink
|
||||
g_clear_object
|
||||
GInitiallyUnowned
|
||||
GInitiallyUnownedClass
|
||||
G_TYPE_INITIALLY_UNOWNED
|
||||
|
Reference in New Issue
Block a user