/* Returns: FALSE if the #GHook should be destroyed  */
static void default_finalize_hook(GHookList *hook_list, GHook *hook)
/* Returns: FALSE if the #GHook should be destroyed  */
static void default_finalize_hook(GHookList *hook_list, GHook *hook)
{
  GDestroyNotify destroy = hook->destroy;
  if (destroy)
    {
      hook->destroy = NULL;
      destroy (hook->data);
    }
}