[pango] adding allow-none introspection metadata to pango_layout_get_pixel_extents



commit 357249f89307a9cafbcfb105f3796c52e322329b
Author: Alberto Ruiz <aruiz gnome org>
Date:   Mon Apr 25 15:22:34 2011 +0100

    adding allow-none introspection metadata to pango_layout_get_pixel_extents

 pango/pango-layout.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 1125955..ba22de3 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -2618,11 +2618,12 @@ pango_layout_get_extents (PangoLayout    *layout,
 /**
  * pango_layout_get_pixel_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 in device units.
  * This function just calls pango_layout_get_extents() followed by



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]