Hook.unref

Decrements the reference count of a #GHook. If the reference count falls to 0, the #GHook is removed from the #GHookList and glib.hook.Hook.free is called to free it.

Parameters

hookList glib.hook_list.HookList

a #GHookList

hook glib.hook.Hook

the #GHook to unref