g-i: info: allow passing NULL to gst_debug_remove_log_function()

Useful for removing the default handler from bindings.
This commit is contained in:
Tim-Philipp Müller 2016-08-26 12:04:33 +01:00
parent 8ec2c56887
commit 7b0cc5d76a

View file

@ -1248,7 +1248,8 @@ gst_debug_remove_with_compare_func (GCompareFunc func, gpointer data)
/**
* gst_debug_remove_log_function:
* @func: (scope call): the log function to remove
* @func: (scope call) (allow-none): the log function to remove, or %NULL to
* remove the default log function
*
* Removes all registered instances of the given logging functions.
*