A variant of
g_cclosure_new_swap() which uses
object and the created
closure. This function is useful when you have a callback closely
associated with a
GObject, and want the callback to no longer run
after the object is is freed.
This function is not directly available to language bindings.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|