Hook.free

void free(glib.hook_list.HookList hookList, glib.hook.Hook hook)

Calls the #GHookList finalize_hook function if it exists, and frees the memory allocated for the #GHook.

Parameters

hookLista #GHookList
hookthe #GHook to free