Method

GObjectClosureref

Declaration

GClosure*
g_closure_ref (
  GClosure* closure
)

Description

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

Return value

Returns: GClosure
 

The closure passed in, for convenience.

 The data is owned by the instance.