ObjectG.unref

Decreases the reference count of object. When its reference count drops to 0, the object is finalized (i.e. its memory is freed).

  1. void unref()
  2. void unref(void* object)
    class ObjectG
    static
    void
    unref
    (
    void* object
    )

Parameters

object void*

a GObject. [type GObject.Object]

Meta