From e16e55ed046aaf7ee1c91f99cd2c15aa1d45d530 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 20 Dec 2017 18:09:28 +0200 Subject: [PATCH] element: Annotate set_bus() bus parameter as allow-none It's possible to replace the bus with NULL/None --- gst/gstelement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstelement.c b/gst/gstelement.c index 132dab1..d4b2bb3 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -3354,7 +3354,7 @@ gst_element_set_bus_func (GstElement * element, GstBus * bus) /** * gst_element_set_bus: * @element: a #GstElement to set the bus of. - * @bus: (transfer none): the #GstBus to set. + * @bus: (transfer none) (allow-none): the #GstBus to set. * * Sets the bus of the element. Increases the refcount on the bus. * For internal use only, unless you're testing elements. -- 2.7.4