From cf9fd56bc905a2022ad48c93d25b5a73b57c8802 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 11 Apr 2023 16:04:17 -0400 Subject: fix various spelling issues Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- mesonbuild/modules/gnome.py | 2 +- mesonbuild/modules/keyval.py | 2 +- mesonbuild/modules/windows.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mesonbuild/modules') diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 019b1ea..b6577dc 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -2149,7 +2149,7 @@ class GnomeModule(ExtensionModule): ) # So to try our best to get this to just work we need: - # - link with with the correct library + # - link with the correct library # - include the vapi and dependent vapi files in sources # - add relevant directories to include dirs incs = [build.IncludeDirs(state.subdir, ['.'] + vapi_includes, False)] diff --git a/mesonbuild/modules/keyval.py b/mesonbuild/modules/keyval.py index 1ba2f1c..48afe81 100644 --- a/mesonbuild/modules/keyval.py +++ b/mesonbuild/modules/keyval.py @@ -55,7 +55,7 @@ class KeyvalModule(ExtensionModule): return result @noKwargs - @typed_pos_args('keyval.laod', (str, mesonlib.File)) + @typed_pos_args('keyval.load', (str, mesonlib.File)) def load(self, state: 'ModuleState', args: T.Tuple['mesonlib.FileOrString'], kwargs: T.Dict[str, T.Any]) -> T.Dict[str, str]: s = args[0] is_built = False diff --git a/mesonbuild/modules/windows.py b/mesonbuild/modules/windows.py index 494cfbf..ed1bef1 100644 --- a/mesonbuild/modules/windows.py +++ b/mesonbuild/modules/windows.py @@ -164,7 +164,7 @@ class WindowsModule(ExtensionModule): elif isinstance(src, build.CustomTargetIndex): FeatureNew.single_use('windows.compile_resource CustomTargetIndex in positional arguments', '0.61.0', state.subproject, location=state.current_node) - # This dance avoids a case where two indexs of the same + # This dance avoids a case where two indexes of the same # target are given as separate arguments. yield (f'{src.get_id()}_{src.target.get_outputs().index(src.output)}', f'windows_compile_resources_{src.get_filename()}', src) -- cgit v1.1