From 7b0cc5d76a99032d93954a37d71f5bf5423e0e24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 26 Aug 2016 12:04:33 +0100 Subject: [PATCH] g-i: info: allow passing NULL to gst_debug_remove_log_function() Useful for removing the default handler from bindings. --- gst/gstinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 8bfa33ba8a..10a9ecaebf 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -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. *