unref
Description:
public void unref ()
Decreases the reference count of this.
When its reference count drops to 0, the object is finalized (i.e. its memory is freed).
If the pointer to the Object may be reused in future (for example, if it is an
instance variable of another object), it is recommended to clear the pointer to null rather than retain a
dangling pointer to a potentially invalid Object instance. Use g_clear_object
for this.
Parameters:
this |
a Object |