summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/fonts.c2
-rw-r--r--pango/pangoft2-fontmap.c7
2 files changed, 5 insertions, 4 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 723b7f7b..da1940f2 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1549,7 +1549,7 @@ pango_font_get_coverage (PangoFont *font,
* Finds the best matching shaper for a font for a particular
* language tag and character point.
*
- * Return value: the best matching shaper.
+ * Return value: (transfer none): the best matching shaper.
**/
PangoEngineShape *
pango_font_find_shaper (PangoFont *font,
diff --git a/pango/pangoft2-fontmap.c b/pango/pangoft2-fontmap.c
index 38be00d0..617def07 100644
--- a/pango/pangoft2-fontmap.c
+++ b/pango/pangoft2-fontmap.c
@@ -253,7 +253,8 @@ pango_ft2_font_map_set_resolution (PangoFT2FontMap *fontmap,
*
* Create a #PangoContext for the given fontmap.
*
- * Return value: the newly created context; free with g_object_unref().
+ * Return value: (transfer full): the newly created context; free with
+ * g_object_unref().
*
* Since: 1.2
*
@@ -276,7 +277,7 @@ pango_ft2_font_map_create_context (PangoFT2FontMap *fontmap)
* (see pango_ft2_font_map_for_display()) and sets the resolution
* for the default fontmap to @dpi_x by @dpi_y.
*
- * Return value: the new #PangoContext
+ * Return value: (transfer full): the new #PangoContext
*
* Deprecated: 1.22: Use pango_font_map_create_context() instead.
**/
@@ -302,7 +303,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
* global PangoFT2 fontmap is deprecated; use pango_ft2_font_map_new()
* instead.
*
- * Return value: a #PangoFT2FontMap.
+ * Return value: (transfer none): a #PangoFT2FontMap.
**/
PangoFontMap *
pango_ft2_font_map_for_display (void)