element: Annotate set_clock() clock parameter with allow-none
diff --git a/gst/gstelement.c b/gst/gstelement.c
index d4b2bb3..a18363f 100644
--- a/gst/gstelement.c
+++ b/gst/gstelement.c
@@ -403,7 +403,7 @@
 /**
  * gst_element_set_clock:
  * @element: a #GstElement to set the clock for.
- * @clock: the #GstClock to set for the element.
+ * @clock: (transfer none) (allow-none): the #GstClock to set for the element.
  *
  * Sets the clock for the element. This function increases the
  * refcount on the clock. Any previously set clock on the object