[pango/for-master: 37/38] Fix some annotations



commit c399ad60109ebeb53bc3ff3d4699421904214633
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Apr 14 20:37:42 2020 +0200

    Fix some annotations

 pango/pangocairo-context.c | 2 +-
 pango/pangocairo-font.c    | 2 +-
 pango/pangocairo.h         | 2 +-
 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]