Function

GLibHookref

Declaration

GHook*
g_hook_ref (
  GHookList* hook_list,
  GHook* hook
)

Description

Increments the reference count for a GHook.

Parameters

hook_list GHookList
 

A GHookList.

 The data is owned by the caller of the function.
hook GHook
 

The GHook to increment the reference count of.

 The data is owned by the caller of the function.

Return value

Returns: GHook
 

The hook that was passed in (since 2.6)

 The data is owned by the called function.