summaryrefslogtreecommitdiff
path: root/pango/pango-layout.c
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@gnome.org>2011-04-25 15:01:06 +0100
committerAlberto Ruiz <aruiz@gnome.org>2011-04-25 15:01:06 +0100
commit33a261862474aa9077f939fab428078883e99844 (patch)
tree6d929da084d5f5643ac2fa43ade8b9f566f9b2b9 /pango/pango-layout.c
parent6767b4b0a39d2faeb57829edaf87472ebce9983b (diff)
downloadpango-33a261862474aa9077f939fab428078883e99844.tar.gz
adding allow-none introspection metadata to pango_layout_get_extents
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r--pango/pango-layout.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 98118a04..11259554 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -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