g-i: info: allow passing NULL to gst_debug_remove_log_function()
authorTim-Philipp Müller <tim@centricular.com>
Fri, 26 Aug 2016 11:04:33 +0000 (12:04 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 26 Aug 2016 11:05:16 +0000 (12:05 +0100)
Useful for removing the default handler from bindings.

gst/gstinfo.c

index 395fa71..75b5e4c 100644 (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.
  *