a #GHookList
%TRUE if #GHook elements which have been destroyed should be skipped
the function to call for each #GHook, which should return %TRUE when the #GHook has been found
the data to pass to @func
Return: the found #GHook or %NULL if no matching #GHook is found
Finds a #GHook in a #GHookList using the given function to test for a match.