API Version: 2.0
Library Version: 2.76
Generated by gi-docgen 2023.2
void g_source_set_closure ( GSource* source, GClosure* closure )
Set the callback for a source as a GClosure.
GClosure
If the source is not one of the standard GLib types, the closure_callback and closure_marshal fields of the GSourceFuncs structure must have been filled in with pointers to appropriate functions.
closure_callback
closure_marshal
GSourceFuncs
source
Type: GSource
GSource
The source.
closure
Type: GClosure
A GClosure.