[pango/gi-docs: 74/74] Fix various broken links




commit 0cbbc2c82aa7b8b0016a4e2515a9f2e4a341975d
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Mar 5 13:10:58 2021 -0500

    Fix various broken links
    
    All these were pointed out by gi-docgen warnings.

 pango/pangocairo-context.c |  6 +++---
 pango/pangocairo-fontmap.c | 10 +++++-----
 pango/pangofc-decoder.h    |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/pango/pangocairo-context.c b/pango/pangocairo-context.c
index 1d8e263f..d880f1b3 100644
--- a/pango/pangocairo-context.c
+++ b/pango/pangocairo-context.c
@@ -209,7 +209,7 @@ pango_cairo_context_set_resolution (PangoContext *context,
  * @context: a `PangoContext`, from a pangocairo font map
  *
  * Gets the resolution for the context.
- * See [method@PangoCairo.Context.set_resolution]
+ * See [func@PangoCairo.context_set_resolution]
  *
  * Return value: the resolution in "dots per inch". A negative value will
  *   be returned if no resolution has previously been set.
@@ -287,7 +287,7 @@ pango_cairo_context_set_font_options (PangoContext               *context,
  * @context: a `PangoContext`, from a pangocairo font map
  *
  * Retrieves any font rendering options previously set with
- * [method@PangoCairo.Context.set_font_options].
+ * [func@PangoCairo.context_set_font_options].
  *
  * This function
  * does not report options that are derived from the target
@@ -391,7 +391,7 @@ pango_cairo_context_set_shape_renderer (PangoContext                *context,
  *
  * Retrieves callback function and associated user data for rendering
  * attributes of type %PANGO_ATTR_SHAPE as set by
- * [method@PangoCairo.Context.set_shape_renderer], if any.
+ * [func@PangoCairo.context_set_shape_renderer], if any.
  *
  * Return value: (transfer none) (nullable): the shape rendering callback
  *   previously set on the context, or %NULL if no shape rendering callback
diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c
index 5d5cc6f0..524102ba 100644
--- a/pango/pangocairo-fontmap.c
+++ b/pango/pangocairo-fontmap.c
@@ -51,7 +51,7 @@ pango_cairo_font_map_default_init (PangoCairoFontMapIface *iface)
  *
  * A fontmap is used to cache information about available fonts,
  * and holds certain global parameters such as the resolution.
- * In most cases, you can use `func@font_map_get_default]
+ * In most cases, you can use `func@PangoCairo.font_map_get_default]
  * instead.
  *
  * Note that the type of the returned object will depend
@@ -114,8 +114,8 @@ pango_cairo_font_map_new (void)
  * Creates a new `PangoCairoFontMap` object of the type suitable
  * to be used with cairo font backend of type @fonttype.
  *
- * In most cases one should simply use [func@font_map_new], or
- * in fact in most of those cases, just use [func@font_map_get_default].
+ * In most cases one should simply use [type_func PangoCairo FontMap new], or
+ * in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].
  *
  * Return value: (transfer full) (nullable): the newly allocated
  *   `PangoFontMap` of suitable type which should be freed with
@@ -201,11 +201,11 @@ pango_cairo_font_map_get_default (void)
  * This function only changes the default fontmap for
  * the current thread. Default fontmaps of existing threads
  * are not changed. Default fontmaps of any new threads will
- * still be created using [func@font_map_new].
+ * still be created using [type_func PangoCairo FontMap new].
  *
  * A value of %NULL for @fontmap will cause the current default
  * font map to be released and a new default font map to be created
- * on demand, using [func@font_map_new].
+ * on demand, using [type_func PangoCairo FontMap new].
  *
  * Since: 1.22
  */
diff --git a/pango/pangofc-decoder.h b/pango/pangofc-decoder.h
index 65f89a59..6268c428 100644
--- a/pango/pangofc-decoder.h
+++ b/pango/pangofc-decoder.h
@@ -53,7 +53,7 @@ typedef struct _PangoFcDecoderClass PangoFcDecoderClass;
  *
  * It's the interface that is used to define a custom encoding for a font.
  * These objects are created in your code from a function callback that was
- * originally registered with [method@PangoFc.FcFontMap.add_decoder_find_func].
+ * originally registered with [method@PangoFc.FontMap.add_decoder_find_func].
  * Pango requires information about the supported charset for a font as well
  * as the individual character to glyph conversions. Pango gets that
  * information via the #get_charset and #get_glyph callbacks into your


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