/**
* pango_layout_get_extents:
* @layout: a #PangoLayout
- * @ink_rect: (out): rectangle used to store the extents of the layout as drawn
- * or %NULL to indicate that the result is not needed.
- * @logical_rect: (out):rectangle used to store the logical extents of the
- * layout or %NULL to indicate that the result is not
- * needed.
+ * @ink_rect: (out) (allow-none): rectangle used to store the extents of the
+ * layout as drawn or %NULL to indicate that the result is
+ * not needed.
+ * @logical_rect: (out) (allow-none):rectangle used to store the logical
+ * extents of the layout or %NULL to indicate that the
+ * result is not needed.
*
* Computes the logical and ink extents of @layout. Logical extents
* are usually what you want for positioning things. Note that both extents