Finds a #GHook in a #GHookList with the given function.
a #GHookList
%TRUE if #GHook elements which have been destroyed should be skipped
the function to find
the #GHook with the given @func or %NULL if no matching #GHook is found
See Implementation
Finds a #GHook in a #GHookList with the given function.