find_source_by_funcs_user_data


Description:

public unowned Source find_source_by_funcs_user_data (SourceFuncs funcs, void* user_data)

Finds a source with the given source functions and user data.

If multiple sources exist with the same source function and user data, the first one found will be returned.

Parameters:

this

a MainContext (if null, the global-default main context will be used).

funcs

the source_funcs passed to Source.

user_data

the user data from the callback.

Returns:

the source, if one was found, otherwise null