Source.removeByFuncsUserData

Removes a source from the default main loop context given the source functions and user data. If multiple sources exist with the same source functions and user data, only one will be destroyed.

class Source
static
int
removeByFuncsUserData

Parameters

funcs GSourceFuncs*

The source_funcs passed to g_source_new()

userData void*

the user data for the callback

Return Value

Type: int

TRUE if a source was found and removed.

Meta