summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-12-02 20:50:07 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-12-02 20:59:47 -0500
commit35ab21daee63a2dbbdd81cb2f5334fe8c20a8f6d (patch)
tree8f46ee6d098be008b9761d43403ee51bf3dc517b
parentfdef4305de8cd7e411a3da61bf1dcbd3a628b035 (diff)
downloadpango-35ab21daee63a2dbbdd81cb2f5334fe8c20a8f6d.tar.gz
doc: fixes
-rw-r--r--pango/pango-attributes.c2
-rw-r--r--pango/pango-layout.h2
-rw-r--r--pango/pango-tabs.c2
-rw-r--r--pango/serializer.c4
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.