Hook.unref

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

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

hookLista #GHookList
hookthe #GHook to unref