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 d18fff7ff5
commit 89f5df1782

View file

@ -1253,7 +1253,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.
*