void g_clear_object ( GObject** object_ptr )
Clears a reference to a
object_ptr must not be
If the reference is
NULL then this function does nothing.
Otherwise, the reference count of the object is decreased and the
pointer is set to
A macro is also included that allows this function to be used without pointer casts.
A pointer to a
|The data is owned by the caller of the function.|