summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2017-12-20 18:09:28 +0200
committerSebastian Dröge <sebastian@centricular.com>2017-12-20 18:09:28 +0200
commite16e55ed046aaf7ee1c91f99cd2c15aa1d45d530 (patch)
tree4d3b8358bd5d5206a668c877491c5c22ed573458 /gst
parent07d3f58fcdb2b7d3e0f7409fcfaecdc1c3b9eab9 (diff)
element: Annotate set_bus() bus parameter as allow-none
It's possible to replace the bus with NULL/None
Diffstat (limited to 'gst')
-rw-r--r--gst/gstelement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstelement.c b/gst/gstelement.c
index 132dab1ce..d4b2bb343 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.