From b74e01cccdbc1bd89b3d5b9551110bf8b1938413 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 9 Aug 2011 10:43:15 +0200 Subject: [PATCH] Fix missing GI transfer annotation for pango_layout_get_line_readonly() https://bugzilla.gnome.org/show_bug.cgi?id=656014 --- pango/pango-layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 4665e66..31c30bf 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -1422,7 +1422,7 @@ pango_layout_get_lines_readonly (PangoLayout *layout) * Use the faster pango_layout_get_line_readonly() if you do not plan * to modify the contents of the line (glyphs, glyph widths, etc.). * - * Return value: the requested #PangoLayoutLine, or %NULL if the + * Return value: (transfer none): the requested #PangoLayoutLine, or %NULL if the * index is out of range. This layout line can * be ref'ed and retained, but will become invalid * if changes are made to the #PangoLayout. @@ -1464,7 +1464,7 @@ pango_layout_get_line (PangoLayout *layout, * but the user is not expected * to modify the contents of the line (glyphs, glyph widths, etc.). * - * Return value: the requested #PangoLayoutLine, or %NULL if the + * Return value: (transfer none): the requested #PangoLayoutLine, or %NULL if the * index is out of range. This layout line can * be ref'ed and retained, but will become invalid * if changes are made to the #PangoLayout. -- 2.7.4