summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2011-08-09 10:43:15 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2011-08-09 10:43:15 +0200
commitb74e01cccdbc1bd89b3d5b9551110bf8b1938413 (patch)
tree5a5108cb2b52edab35ca7a6fb28a2838159cb5b4
parent7ac3b46beaa57703aa46e85d7300b3d5184eb028 (diff)
downloadpango-b74e01cccdbc1bd89b3d5b9551110bf8b1938413.tar.gz
Fix missing GI transfer annotation for pango_layout_get_line_readonly()
https://bugzilla.gnome.org/show_bug.cgi?id=656014
-rw-r--r--pango/pango-layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 4665e667..31c30bfe 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.