nextValid
Returns the next #GHook in a #GHookList which has not been destroyed. The reference count for the #GHook is incremented, so you must call g_hook_unref() to restore it when no longer needed. (Or continue to call g_hook_next_valid() until null is returned.)
Return
the next valid #GHook, or null if none are valid
Parameters
hookList
a #GHookList
hook
the current #GHook
mayBeInCall
true if hooks which are currently running (e.g. in another thread) are considered valid. If set to false, these are skipped