Method

GObjectClosureref

Declaration [src]

GClosure*
g_closure_ref (
  GClosure* closure
)

Description [src]

Increments the reference count on a closure to force it staying alive while the caller holds a pointer to it.

Return value

Type: GClosure

The closure passed in, for convenience.

The returned data is owned by the instance.