summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2020-11-16 16:47:54 +0000
committerPhilip Withnall <pwithnall@endlessos.org>2020-11-20 14:41:07 +0000
commit041dd8b70bd14b041d6a495492eb7a5fc7568bb7 (patch)
tree1a7aa7f8ef9b01ce48fe01bb584230a7836e0395
parent6bd0a4b29753570a2c20b61b5ad2c0068567b7b6 (diff)
downloadglib-041dd8b70bd14b041d6a495492eb7a5fc7568bb7.tar.gz
gtype: Fix some typos in comments
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
-rw-r--r--gobject/gtype.c8
1 files 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