[pango/doc-fixes] docs: Fix link syntax in a few places




commit 347f69c3aa216ba75456d207ba55b44a2daf51c0
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 23 12:46:36 2021 -0400

    docs: Fix link syntax in a few places

 pango/pango-attributes.c | 2 +-
 pango/pango-color.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index 63c031f9..d33e0eec 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -1001,7 +1001,7 @@ pango_attr_shape_equal (const PangoAttribute *attr1,
  *
  * Creates a new shape attribute.
  *
- * Like [ctor Pango AttrShape new], but a user data pointer
+ * Like [func Pango AttrShape new], but a user data pointer
  * is also provided; this pointer can be accessed when later
  * rendering the glyph.
  *
diff --git a/pango/pango-color.c b/pango/pango-color.c
index b6907035..7e7c4a24 100644
--- a/pango/pango-color.c
+++ b/pango/pango-color.c
@@ -65,7 +65,7 @@ pango_color_copy (const PangoColor *src)
  * pango_color_free:
  * @color: (nullable): an allocated `PangoColor`
  *
- * Frees a color allocated by [ctor Pango copy].
+ * Frees a color allocated by [method Pango Color copy].
  */
 void
 pango_color_free (PangoColor *color)


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