blob: 7090a12a8bb362dcafb7316d8ec34e282c870c8f [file] [log] [blame]
Andrew Geissler95ac1b82021-03-31 14:34:31 -05001From 041dd8b70bd14b041d6a495492eb7a5fc7568bb7 Mon Sep 17 00:00:00 2001
2From: Philip Withnall <pwithnall@endlessos.org>
3Date: Mon, 16 Nov 2020 16:47:54 +0000
4Subject: [PATCH 26/29] gtype: Fix some typos in comments
5
6Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719]
7Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
8---
9 gobject/gtype.c | 8 ++++----
10 1 file changed, 4 insertions(+), 4 deletions(-)
11
12diff --git a/gobject/gtype.c b/gobject/gtype.c
13index be5989a3e..ae1af8a05 100644
14--- a/gobject/gtype.c
15+++ b/gobject/gtype.c
16@@ -2290,7 +2290,7 @@ type_class_init_Wm (TypeNode *node,
17 * inherited interfaces are already init_state == INITIALIZED, because
18 * they either got setup in the above base_init loop, or during
19 * class_init from within type_add_interface_Wm() for this or
20- * an anchestor type.
21+ * an ancestor type.
22 */
23 i = 0;
24 while ((entries = CLASSED_NODE_IFACES_ENTRIES_LOCKED (node)) != NULL)
25@@ -3462,7 +3462,7 @@ g_type_depth (GType type)
26 * be used to determine the types and order in which the leaf type is
27 * descended from the root type.
28 *
29- * Returns: immediate child of @root_type and anchestor of @leaf_type
30+ * Returns: immediate child of @root_type and ancestor of @leaf_type
31 */
32 GType
33 g_type_next_base (GType type,
34@@ -3549,8 +3549,8 @@ type_node_conforms_to_U (TypeNode *node,
35
36 /**
37 * g_type_is_a:
38- * @type: type to check anchestry for
39- * @is_a_type: possible anchestor of @type or interface that @type
40+ * @type: type to check ancestry for
41+ * @is_a_type: possible ancestor of @type or interface that @type
42 * could conform to
43 *
44 * If @is_a_type is a derivable type, check whether @type is a
45--
462.30.1
47