[pango] Fix missing GI transfer annotation for pango_layout_get_line_readonly()
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Fix missing GI transfer annotation for pango_layout_get_line_readonly()
- Date: Tue, 9 Aug 2011 08:44:07 +0000 (UTC)
commit b74e01cccdbc1bd89b3d5b9551110bf8b1938413
Author: Michael Vogt <mvo ubuntu com>
Date: Tue Aug 9 10:43:15 2011 +0200
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 files 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]