Function
GLibHookfirst_valid
Description
Returns the first GHook
in a GHookList
which has not been destroyed.
The reference count for the GHook
is incremented, so you must call
g_hook_unref()
to restore it when no longer needed. (Or call
g_hook_next_valid()
if you are stepping through the GHookList
.)
Parameters
hook_list |
GHookList |
A |
|
The data is owned by the caller of the function. | |
may_be_in_call |
gboolean |
|
Return value
Returns: | GHook |
The first valid |
|
The data is owned by the called function. |