Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame^] | 1 | From 041dd8b70bd14b041d6a495492eb7a5fc7568bb7 Mon Sep 17 00:00:00 2001 |
| 2 | From: Philip Withnall <pwithnall@endlessos.org> |
| 3 | Date: Mon, 16 Nov 2020 16:47:54 +0000 |
| 4 | Subject: [PATCH 26/29] gtype: Fix some typos in comments |
| 5 | |
| 6 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719] |
| 7 | Signed-off-by: Philip Withnall <pwithnall@endlessos.org> |
| 8 | --- |
| 9 | gobject/gtype.c | 8 ++++---- |
| 10 | 1 file changed, 4 insertions(+), 4 deletions(-) |
| 11 | |
| 12 | diff --git a/gobject/gtype.c b/gobject/gtype.c |
| 13 | index 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 | -- |
| 46 | 2.30.1 |
| 47 | |