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

index b67745d..3abab55 100644 (file)
@@ -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