[pango] adding allow-none introspection metadata to pango_layout_get_pixel_extents



commit a04ac359f79d0d460bf164801ac9ef39bae276dc
Author: Alberto Ruiz <aruiz gnome org>
Date:   Mon Apr 25 16:30:03 2011 +0100

    adding allow-none introspection metadata to pango_layout_get_pixel_extents

 pango/pango-layout.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index b8581ee..b0d855e 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -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



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