all: Fix various typos and incorrect terminology

Done using:
```
codespell \
    --builtin clear,rare,usage \
    --skip './po/*' --skip './help/*/*.po' --skip './.git/*' --skip './NEWS*' \
    --write-changes .
```
and then some manual checking and editing.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-06-18 13:51:35 +01:00
parent ce26ca909c
commit 73d7c5e113
2 changed files with 6 additions and 6 deletions

View File

@ -279,7 +279,7 @@ test_app_filter_builder_non_empty (BuilderFixture *fixture,
mct_app_filter_builder_blocklist_path (fixture->builder, "/usr/bin/gnome-software"); mct_app_filter_builder_blocklist_path (fixture->builder, "/usr/bin/gnome-software");
mct_app_filter_builder_blocklist_flatpak_ref (fixture->builder, mct_app_filter_builder_blocklist_flatpak_ref (fixture->builder,
"app/org.doom.Doom/x86_64/master"); "app/org.doom.Doom/x86_64/stable");
mct_app_filter_builder_blocklist_content_type (fixture->builder, mct_app_filter_builder_blocklist_content_type (fixture->builder,
"x-scheme-handler/http"); "x-scheme-handler/http");
@ -300,10 +300,10 @@ test_app_filter_builder_non_empty (BuilderFixture *fixture,
"/usr/bin/gnome-software")); "/usr/bin/gnome-software"));
g_assert_true (mct_app_filter_is_flatpak_ref_allowed (filter, g_assert_true (mct_app_filter_is_flatpak_ref_allowed (filter,
"app/org.gnome.Ponies/x86_64/master")); "app/org.gnome.Ponies/x86_64/stable"));
g_assert_true (mct_app_filter_is_flatpak_app_allowed (filter, "org.gnome.Ponies")); g_assert_true (mct_app_filter_is_flatpak_app_allowed (filter, "org.gnome.Ponies"));
g_assert_false (mct_app_filter_is_flatpak_ref_allowed (filter, g_assert_false (mct_app_filter_is_flatpak_ref_allowed (filter,
"app/org.doom.Doom/x86_64/master")); "app/org.doom.Doom/x86_64/stable"));
g_assert_false (mct_app_filter_is_flatpak_app_allowed (filter, "org.doom.Doom")); g_assert_false (mct_app_filter_is_flatpak_app_allowed (filter, "org.doom.Doom"));
g_assert_false (mct_app_filter_is_content_type_allowed (filter, g_assert_false (mct_app_filter_is_content_type_allowed (filter,
@ -343,10 +343,10 @@ test_app_filter_builder_empty (BuilderFixture *fixture,
"/usr/bin/gnome-software")); "/usr/bin/gnome-software"));
g_assert_true (mct_app_filter_is_flatpak_ref_allowed (filter, g_assert_true (mct_app_filter_is_flatpak_ref_allowed (filter,
"app/org.gnome.Ponies/x86_64/master")); "app/org.gnome.Ponies/x86_64/stable"));
g_assert_true (mct_app_filter_is_flatpak_app_allowed (filter, "org.gnome.Ponies")); g_assert_true (mct_app_filter_is_flatpak_app_allowed (filter, "org.gnome.Ponies"));
g_assert_true (mct_app_filter_is_flatpak_ref_allowed (filter, g_assert_true (mct_app_filter_is_flatpak_ref_allowed (filter,
"app/org.doom.Doom/x86_64/master")); "app/org.doom.Doom/x86_64/stable"));
g_assert_true (mct_app_filter_is_flatpak_app_allowed (filter, "org.doom.Doom")); g_assert_true (mct_app_filter_is_flatpak_app_allowed (filter, "org.doom.Doom"));
g_assert_true (mct_app_filter_is_content_type_allowed (filter, g_assert_true (mct_app_filter_is_content_type_allowed (filter,

View File

@ -178,7 +178,7 @@ update_buttons_visibility (MctCarousel *self)
/** /**
* mct_carousel_find_item: * mct_carousel_find_item:
* @carousel: an MctCarousel instance * @carousel: an MctCarousel instance
* @data: user data passed to the comparation function * @data: user data passed to the comparison function
* @func: the function to call for each element. * @func: the function to call for each element.
* It should return 0 when the desired element is found * It should return 0 when the desired element is found
* *