diff --git a/examples/src/bin/appsink.rs b/examples/src/bin/appsink.rs index fbfa98fde..de0c38dd6 100644 --- a/examples/src/bin/appsink.rs +++ b/examples/src/bin/appsink.rs @@ -176,7 +176,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/appsrc.rs b/examples/src/bin/appsrc.rs index 45569018c..4f5877b4b 100644 --- a/examples/src/bin/appsrc.rs +++ b/examples/src/bin/appsrc.rs @@ -185,7 +185,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/custom_events.rs b/examples/src/bin/custom_events.rs index 5ea28e496..6d8132b7d 100644 --- a/examples/src/bin/custom_events.rs +++ b/examples/src/bin/custom_events.rs @@ -180,7 +180,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/custom_meta.rs b/examples/src/bin/custom_meta.rs index 40a2d1ec2..6f0824642 100644 --- a/examples/src/bin/custom_meta.rs +++ b/examples/src/bin/custom_meta.rs @@ -288,7 +288,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS + // tutorials_common::run is only required to set up the application environment on macOS // (but not necessary in normal Cocoa applications where this is set up automatically). examples_common::run(example_main); } diff --git a/examples/src/bin/debug_ringbuffer.rs b/examples/src/bin/debug_ringbuffer.rs index f987a1387..62bdd97ea 100644 --- a/examples/src/bin/debug_ringbuffer.rs +++ b/examples/src/bin/debug_ringbuffer.rs @@ -80,7 +80,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/decodebin.rs b/examples/src/bin/decodebin.rs index 2f140c889..1c0c2df38 100644 --- a/examples/src/bin/decodebin.rs +++ b/examples/src/bin/decodebin.rs @@ -303,8 +303,8 @@ fn example_main() -> Result<(), Error> { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) match examples_common::run(example_main) { Ok(r) => r, Err(e) => eprintln!("Error! {}", e), diff --git a/examples/src/bin/discoverer.rs b/examples/src/bin/discoverer.rs index 1304a0b8a..b26ef6b30 100644 --- a/examples/src/bin/discoverer.rs +++ b/examples/src/bin/discoverer.rs @@ -99,7 +99,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/encodebin.rs b/examples/src/bin/encodebin.rs index c129d8d1d..6a2948095 100644 --- a/examples/src/bin/encodebin.rs +++ b/examples/src/bin/encodebin.rs @@ -332,8 +332,8 @@ fn example_main() -> Result<(), Error> { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) match examples_common::run(example_main) { Ok(r) => r, Err(e) => eprintln!("Error! {}", e), diff --git a/examples/src/bin/events.rs b/examples/src/bin/events.rs index 0f8b0c979..c38d1d79c 100644 --- a/examples/src/bin/events.rs +++ b/examples/src/bin/events.rs @@ -131,7 +131,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/futures.rs b/examples/src/bin/futures.rs index e2cf31c21..a28cd3d69 100644 --- a/examples/src/bin/futures.rs +++ b/examples/src/bin/futures.rs @@ -63,7 +63,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/ges.rs b/examples/src/bin/ges.rs index fc7a128ca..5ccfd19bf 100644 --- a/examples/src/bin/ges.rs +++ b/examples/src/bin/ges.rs @@ -139,7 +139,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/glib-futures.rs b/examples/src/bin/glib-futures.rs index 8df2d1096..731f46171 100644 --- a/examples/src/bin/glib-futures.rs +++ b/examples/src/bin/glib-futures.rs @@ -66,7 +66,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/glupload.rs b/examples/src/bin/glupload.rs index fdf44eca4..428729fb9 100644 --- a/examples/src/bin/glupload.rs +++ b/examples/src/bin/glupload.rs @@ -1,4 +1,4 @@ -// This example demostrates how to output GL textures, within an +// This example demonstrates how to output GL textures, within an // EGL/X11 context provided by the application, and render those // textures in the GL application. diff --git a/examples/src/bin/iterator.rs b/examples/src/bin/iterator.rs index f754a6e8d..db6bc3fac 100644 --- a/examples/src/bin/iterator.rs +++ b/examples/src/bin/iterator.rs @@ -45,7 +45,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/launch.rs b/examples/src/bin/launch.rs index a3edb5a73..94f1e95e3 100644 --- a/examples/src/bin/launch.rs +++ b/examples/src/bin/launch.rs @@ -70,7 +70,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/launch_glib_main.rs b/examples/src/bin/launch_glib_main.rs index 133a1edaf..125ac7b0f 100644 --- a/examples/src/bin/launch_glib_main.rs +++ b/examples/src/bin/launch_glib_main.rs @@ -70,7 +70,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/overlay-composition.rs b/examples/src/bin/overlay-composition.rs index 1156870f9..b5568d152 100644 --- a/examples/src/bin/overlay-composition.rs +++ b/examples/src/bin/overlay-composition.rs @@ -331,7 +331,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/pad_probes.rs b/examples/src/bin/pad_probes.rs index e067f343a..96a2c1569 100644 --- a/examples/src/bin/pad_probes.rs +++ b/examples/src/bin/pad_probes.rs @@ -101,7 +101,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/pango-cairo.rs b/examples/src/bin/pango-cairo.rs index 78a9e1901..f1c9aa47f 100644 --- a/examples/src/bin/pango-cairo.rs +++ b/examples/src/bin/pango-cairo.rs @@ -262,7 +262,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/playbin.rs b/examples/src/bin/playbin.rs index b3d06490b..196ed1fb3 100644 --- a/examples/src/bin/playbin.rs +++ b/examples/src/bin/playbin.rs @@ -146,7 +146,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/player.rs b/examples/src/bin/player.rs index 6a7cce9b2..a75bb76c4 100644 --- a/examples/src/bin/player.rs +++ b/examples/src/bin/player.rs @@ -80,7 +80,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/queries.rs b/examples/src/bin/queries.rs index e83a93ab3..6a419dac6 100644 --- a/examples/src/bin/queries.rs +++ b/examples/src/bin/queries.rs @@ -128,7 +128,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/subclass.rs b/examples/src/bin/subclass.rs index 0841f8986..ad15ccdbc 100644 --- a/examples/src/bin/subclass.rs +++ b/examples/src/bin/subclass.rs @@ -351,7 +351,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/tagsetter.rs b/examples/src/bin/tagsetter.rs index b52563436..3cededb9e 100644 --- a/examples/src/bin/tagsetter.rs +++ b/examples/src/bin/tagsetter.rs @@ -113,8 +113,8 @@ fn example_main() -> Result<(), Error> { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) match examples_common::run(example_main) { Ok(r) => r, Err(e) => eprintln!("Error! {}", e), diff --git a/examples/src/bin/thumbnail.rs b/examples/src/bin/thumbnail.rs index 251321d97..e9c0b9aa6 100644 --- a/examples/src/bin/thumbnail.rs +++ b/examples/src/bin/thumbnail.rs @@ -240,7 +240,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/toc.rs b/examples/src/bin/toc.rs index 553742b0b..f7f39ddc4 100644 --- a/examples/src/bin/toc.rs +++ b/examples/src/bin/toc.rs @@ -164,7 +164,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); } diff --git a/examples/src/bin/transmux.rs b/examples/src/bin/transmux.rs index d27417ab2..efbb5f693 100644 --- a/examples/src/bin/transmux.rs +++ b/examples/src/bin/transmux.rs @@ -231,8 +231,8 @@ fn handle_demux_pad_added( } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) match examples_common::run(example_main) { Ok(r) => r, Err(e) => eprintln!("Error! {}", e), diff --git a/examples/src/bin/video_converter.rs b/examples/src/bin/video_converter.rs index 603dc9609..88948c1dd 100644 --- a/examples/src/bin/video_converter.rs +++ b/examples/src/bin/video_converter.rs @@ -80,7 +80,7 @@ fn example_main() { } fn main() { - // tutorials_common::run is only required to set up the application environent on macOS - // (but not necessary in normal Cocoa applications where this is set up autmatically) + // tutorials_common::run is only required to set up the application environment on macOS + // (but not necessary in normal Cocoa applications where this is set up automatically) examples_common::run(example_main); }