Pad.setUnlinkFunctionFull

Sets the given unlink function for the pad. It will be called when the pad is unlinked.

Note that the pad's lock is already held when the unlink function is called, so most pad functions cannot be called from within the callback.

class Pad
void
setUnlinkFunctionFull

Parameters

userData void*

user_data passed to notify

notify GDestroyNotify

notify called when unlink will not be used anymore.