WeakRef.set

Change the object to which @weak_ref points, or set it to %NULL.

You must own a strong reference on @object while calling this function.

class WeakRef
void
set
(
void* object
)

Parameters

object void*

a #GObject or %NULL

Meta

Since

2.32