summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/pangocairo-context.c2
-rw-r--r--pango/pangocairo-font.c2
-rw-r--r--pango/pangocairo.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/pango/pangocairo-context.c b/pango/pangocairo-context.c
index 5949c448..d2e66c4b 100644
--- a/pango/pangocairo-context.c
+++ b/pango/pangocairo-context.c
@@ -374,7 +374,7 @@ pango_cairo_context_set_shape_renderer (PangoContext *context,
* attributes of type %PANGO_ATTR_SHAPE as set by
* pango_cairo_context_set_shape_renderer(), if any.
*
- * Return value: (nullable): the shape rendering callback previously
+ * Return value: (transfer none) (nullable): the shape rendering callback previously
* set on the context, or %NULL if no shape rendering callback have
* been set.
*
diff --git a/pango/pangocairo-font.c b/pango/pangocairo-font.c
index a49d14d4..1cadd005 100644
--- a/pango/pangocairo-font.c
+++ b/pango/pangocairo-font.c
@@ -143,7 +143,7 @@ done:
* The scaled font can be referenced and kept using
* cairo_scaled_font_reference().
*
- * Return value: (nullable): the #cairo_scaled_font_t used by @font,
+ * Return value: (transfer none) (nullable): the #cairo_scaled_font_t used by @font,
* or %NULL if @font is %NULL.
*
* Since: 1.18
diff --git a/pango/pangocairo.h b/pango/pangocairo.h
index d15d879b..cd368f8f 100644
--- a/pango/pangocairo.h
+++ b/pango/pangocairo.h
@@ -64,7 +64,7 @@ typedef struct _PangoCairoFontMap PangoCairoFontMap;
* path of @cr and no filling/stroking done. This will be set
* to %TRUE when called from pango_cairo_layout_path() and
* pango_cairo_layout_line_path() rendering functions.
- * @data: user data passed to pango_cairo_context_set_shape_renderer()
+ * @data: (closure): user data passed to pango_cairo_context_set_shape_renderer()
*
* Function type for rendering attributes of type %PANGO_ATTR_SHAPE
* with Pango's Cairo renderer.