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

index b8581ee..b0d855e 100644 (file)
@@ -4679,10 +4679,10 @@ pango_layout_line_new (PangoLayout *layout)
 /**
  * pango_layout_line_get_pixel_extents:
  * @layout_line: a #PangoLayoutLine
- * @ink_rect: (out): rectangle used to store the extents of the glyph string
- *                   as drawn, or %NULL
- * @logical_rect: (out): rectangle used to store the logical extents of the
- *                       glyph string, or %NULL
+ * @ink_rect: (out) (allow-none): rectangle used to store the extents of
+ *                   the glyph string as drawn, or %NULL
+ * @logical_rect: (out) (allow-none): rectangle used to store the logical
+ *                       extents of the glyph string, or %NULL
  *
  * Computes the logical and ink extents of @layout_line in device units.
  * This function just calls pango_layout_line_get_extents() followed by