summaryrefslogtreecommitdiff
path: root/gobject/gclosure.c
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2020-06-12 14:02:30 +0100
committerPhilip Withnall <withnall@endlessm.com>2020-06-12 15:01:08 +0100
commit00bfb3ab4479fd3796e5c292fce7088209702d10 (patch)
treee53f53b01ddd6be9f184ff742c1cba45067eba7d /gobject/gclosure.c
parentc6ccff0ef467247be84015f3c45cabece9e582f5 (diff)
downloadglib-00bfb3ab4479fd3796e5c292fce7088209702d10.tar.gz
tree: Fix various typos and outdated terminology
This was mostly machine generated with the following command: ``` codespell \ --builtin clear,rare,usage \ --skip './po/*' --skip './.git/*' --skip './NEWS*' \ --write-changes . ``` using the latest git version of `codespell` as per [these instructions](https://github.com/codespell-project/codespell#user-content-updating). Then I manually checked each change using `git add -p`, made a few manual fixups and dropped a load of incorrect changes. There are still some outdated or loaded terms used in GLib, mostly to do with git branch terminology. They will need to be changed later as part of a wider migration of git terminology. If I’ve missed anything, please file an issue! Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'gobject/gclosure.c')
-rw-r--r--gobject/gclosure.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/gclosure.c b/gobject/gclosure.c
index 472f037e2..7caf9c4e6 100644
--- a/gobject/gclosure.c
+++ b/gobject/gclosure.c
@@ -659,7 +659,7 @@ g_closure_unref (GClosure *closure)
* g_source_set_closure (source, g_cclosure_new (cb_func, cb_data));
* ]|
*
- * Generally, this function is used together with g_closure_ref(). Ane example
+ * Generally, this function is used together with g_closure_ref(). An example
* of storing a closure for later notification looks like:
* |[<!-- language="C" -->
* static GClosure *notify_closure = NULL;
@@ -690,7 +690,7 @@ g_closure_sink (GClosure *closure)
/* floating is basically a kludge to avoid creating closures
* with a ref_count of 0. so the initial ref_count a closure has
* is unowned. with invoking g_closure_sink() code may
- * indicate that it takes over that intiial ref_count.
+ * indicate that it takes over that initial ref_count.
*/
if (closure->floating)
{