unref

fun unref(hookList: HookList, hook: Hook)

Decrements the reference count of a #GHook. If the reference count falls to 0, the #GHook is removed from the #GHookList and g_hook_free() is called to free it.

Parameters

hookList

a #GHookList

hook

the #GHook to unref