Function

GLibHookget

Declaration

GHook*
g_hook_get (
  GHookList* hook_list,
  gulong hook_id
)

Description

Returns the GHook with the given id, or NULL if it is not found.

Parameters

hook_list GHookList
 

A GHookList.

 The data is owned by the caller of the function.
hook_id gulong
 

A hook id.

Return value

Returns: GHook
 

The GHook with the given id, or NULL if it is not found.

 The data is owned by the called function.