From 89f5df1782ef607275ea04afba37ffed0b2fa2e9 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Fri, 26 Aug 2016 12:04:33 +0100 Subject: 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(-) (limited to 'gst') diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 395fa712de..75b5e4c7a7 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -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. * -- cgit v1.2.3-70-g09d2