Method

GObjectClosureadd_invalidate_notifier

Declaration

void
g_closure_add_invalidate_notifier (
  GClosure* closure,
  gpointer notify_data,
  GClosureNotify notify_func
)

Description

Registers an invalidation notifier which will be called when the closure is invalidated with g_closure_invalidate().

Invalidation notifiers are invoked before finalization notifiers, in an unspecified order.

Parameters

notify_data gpointer
 

Data to pass to notify_func.

notify_func GClosureNotify
 

The callback function to register.