adding allow-none introspection metadata to pango_layout_get_extents
authorAlberto Ruiz <aruiz@gnome.org>
Mon, 25 Apr 2011 14:01:06 +0000 (15:01 +0100)
committerAlberto Ruiz <aruiz@gnome.org>
Mon, 25 Apr 2011 14:01:06 +0000 (15:01 +0100)
pango/pango-layout.c

index 98118a0..1125955 100644 (file)
@@ -2588,11 +2588,12 @@ pango_layout_get_extents_internal (PangoLayout    *layout,
 /**
  * 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