[pango] adding allow-none introspection metadata to pango_layout_get_size



commit 112227f7a2aa851417cd475f7a27f76d77fb2d51
Author: Alberto Ruiz <aruiz gnome org>
Date:   Mon Apr 25 15:31:43 2011 +0100

    adding allow-none introspection metadata to pango_layout_get_size

 pango/pango-layout.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index b67745d..3abab55 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -2646,8 +2646,8 @@ pango_layout_get_pixel_extents (PangoLayout *layout,
 /**
  * pango_layout_get_size:
  * @layout: a #PangoLayout
- * @width: (out): location to store the logical width, or %NULL
- * @height: (out): location to store the logical height, or %NULL
+ * @width: (out caller-allocates) (allow-none): location to store the logical width, or %NULL
+ * @height: (out caller-allocates) (allow-none): location to store the logical height, or %NULL
  *
  * Determines the logical width and height of a #PangoLayout
  * in Pango units (device units scaled by %PANGO_SCALE). This



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