[pango] doc: fixes



commit 35ab21daee63a2dbbdd81cb2f5334fe8c20a8f6d
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Dec 2 20:50:07 2021 -0500

    doc: fixes

 pango/pango-attributes.c | 2 +-
 pango/pango-layout.h     | 2 +-
 pango/pango-tabs.c       | 2 +-
 pango/serializer.c       | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index 04179fbb..cafe0df3 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -2752,7 +2752,7 @@ is_valid_end_char (char c)
  *
  * Deserializes a `PangoAttrList` from a string.
  *
- * This is the counterpart to [func@Pango.AttrList.to_string].
+ * This is the counterpart to [method@Pango.AttrList.to_string].
  * See that functions for details about the format.
  *
  * Returns: (transfer full) (nullable): a new `PangoAttrList`
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index 7b3c6ca6..05f8edf2 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -405,7 +405,7 @@ GQuark          pango_layout_deserialize_error_quark (void);
  * @PANGO_LAYOUT_DESERIALIZE_CONTEXT: Apply context information
  *   from the serialization to the `PangoContext`
  *
- * Flags that influence the behavior of [method@Pango.Layout.deserialize].
+ * Flags that influence the behavior of [func@Pango.Layout.deserialize].
  *
  * New members may be added to this enumeration over time.
  */
diff --git a/pango/pango-tabs.c b/pango/pango-tabs.c
index ab01cfe5..12c27200 100644
--- a/pango/pango-tabs.c
+++ b/pango/pango-tabs.c
@@ -448,7 +448,7 @@ skip_whitespace (const char *p)
  *
  * Deserializes a `PangoTabArray` from a string.
  *
- * This is the counterpart to [func@Pango.TabArray.to_string].
+ * This is the counterpart to [method@Pango.TabArray.to_string].
  * See that functions for details about the format.
  *
  * Returns: (transfer full) (nullable): a new `PangoTabArray`
diff --git a/pango/serializer.c b/pango/serializer.c
index 86e6b004..39b9dd6e 100644
--- a/pango/serializer.c
+++ b/pango/serializer.c
@@ -1373,10 +1373,10 @@ json_parser_load_font (GtkJsonParser  *parser,
  * @layout: a `PangoLayout`
  * @flags: `PangoLayoutSerializeFlags`
  *
- * Serializes the @layout for later deserialization via [method@Pango.Layout.deserialize].
+ * Serializes the @layout for later deserialization via [func@Pango.Layout.deserialize].
  *
  * There are no guarantees about the format of the output across different
- * versions of Pango and [method@Pango.Layout.deserialize] will reject data
+ * versions of Pango and [func@Pango.Layout.deserialize] will reject data
  * that it cannot parse.
  *
  * The intended use of this function is testing, benchmarking and debugging.


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