Hook.findData

Finds a #GHook in a #GHookList with the given data.

class Hook
static
findData

Parameters

hookList HookList

a #GHookList

needValids bool

%TRUE if #GHook elements which have been destroyed should be skipped

data void*

the data to find

Return: the #GHook with the given @data or %NULL if no matching #GHook is found

Meta