1
diff --git a/pango/pango-context.c b/pango/pango-context.c
2
index 110a6f3..af0ccfa 100644
3
--- a/pango/pango-context.c
4
+++ b/pango/pango-context.c
5
@@ -339,8 +339,8 @@ pango_context_set_font_description (PangoContext *context,
7
* Retrieve the default font description for the context.
9
- * Return value: a pointer to the context's default font description.
10
- * This value must not be modified or freed.
11
+ * Return value: (transfer none): a pointer to the context's default font
12
+ * description. This value must not be modified or freed.
14
PangoFontDescription *
15
pango_context_get_font_description (PangoContext *context)
16
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
17
index 40f92fa..e5155b5 100644
18
--- a/pango/pango-layout.c
19
+++ b/pango/pango-layout.c
20
@@ -1422,10 +1422,10 @@ pango_layout_get_lines_readonly (PangoLayout *layout)
21
* Use the faster pango_layout_get_line_readonly() if you do not plan
22
* to modify the contents of the line (glyphs, glyph widths, etc.).
24
- * Return value: the requested #PangoLayoutLine, or %NULL if the
25
- * index is out of range. This layout line can
26
- * be ref'ed and retained, but will become invalid
27
- * if changes are made to the #PangoLayout.
28
+ * Return value: (transfer none): the requested #PangoLayoutLine, or %NULL if
29
+ * the index is out of range. This layout line can be ref'ed and
30
+ * retained, but will become invalid if changes are made to the
34
pango_layout_get_line (PangoLayout *layout,
35
@@ -1464,11 +1464,10 @@ pango_layout_get_line (PangoLayout *layout,
36
* but the user is not expected
37
* to modify the contents of the line (glyphs, glyph widths, etc.).
39
- * Return value: the requested #PangoLayoutLine, or %NULL if the
40
- * index is out of range. This layout line can
41
- * be ref'ed and retained, but will become invalid
42
- * if changes are made to the #PangoLayout.
43
- * No changes should be made to the line.
44
+ * Return value: (transfer none): the requested #PangoLayoutLine, or %NULL if
45
+ * the index is out of range. This layout line can be ref'ed and
46
+ * retained, but will become invalid if changes are made to the
47
+ * #PangoLayout. No changes should be made to the line.