It's possible to replace the bus with NULL/None
/**
* gst_element_set_bus:
* @element: a #GstElement to set the bus of.
/**
* 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.
*
* Sets the bus of the element. Increases the refcount on the bus.
* For internal use only, unless you're testing elements.