From 041dd8b70bd14b041d6a495492eb7a5fc7568bb7 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 16 Nov 2020 16:47:54 +0000 Subject: [PATCH 26/29] gtype: Fix some typos in comments Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719] Signed-off-by: Philip Withnall --- gobject/gtype.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gobject/gtype.c b/gobject/gtype.c index be5989a3e..ae1af8a05 100644 --- a/gobject/gtype.c +++ b/gobject/gtype.c @@ -2290,7 +2290,7 @@ type_class_init_Wm (TypeNode *node, * inherited interfaces are already init_state == INITIALIZED, because * they either got setup in the above base_init loop, or during * class_init from within type_add_interface_Wm() for this or - * an anchestor type. + * an ancestor type. */ i = 0; while ((entries = CLASSED_NODE_IFACES_ENTRIES_LOCKED (node)) != NULL) @@ -3462,7 +3462,7 @@ g_type_depth (GType type) * be used to determine the types and order in which the leaf type is * descended from the root type. * - * Returns: immediate child of @root_type and anchestor of @leaf_type + * Returns: immediate child of @root_type and ancestor of @leaf_type */ GType g_type_next_base (GType type, @@ -3549,8 +3549,8 @@ type_node_conforms_to_U (TypeNode *node, /** * g_type_is_a: - * @type: type to check anchestry for - * @is_a_type: possible anchestor of @type or interface that @type + * @type: type to check ancestry for + * @is_a_type: possible ancestor of @type or interface that @type * could conform to * * If @is_a_type is a derivable type, check whether @type is a -- 2.30.1