diff options
author | Björn Daase <bjoern@daase.net> | 2020-08-21 14:41:13 +0200 |
---|---|---|
committer | Björn Daase <bjoern@daase.net> | 2020-08-21 15:29:34 +0200 |
commit | 6315cd977c2541f6f76cc81dfd47fc228bb3aa5e (patch) | |
tree | 29556ecd7c9ed1ad2342b5dd2546270a70f857d0 /tests | |
parent | bb8c818ba14ffde882f31359e09efd6e9215c593 (diff) | |
download | gtk+-6315cd977c2541f6f76cc81dfd47fc228bb3aa5e.tar.gz |
*: Fix spelling mistakes found by codespell
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gtkgears.c | 4 | ||||
-rw-r--r-- | tests/testcellarea.c | 2 | ||||
-rw-r--r-- | tests/testinhibitshortcuts.c | 2 | ||||
-rw-r--r-- | tests/testverticalcells.c | 8 |
4 files changed, 8 insertions, 8 deletions
diff --git a/tests/gtkgears.c b/tests/gtkgears.c index 96be865b86..5f5686c883 100644 --- a/tests/gtkgears.c +++ b/tests/gtkgears.c @@ -305,7 +305,7 @@ create_gear (GLfloat inner_radius, /* Create the 7 points (only x,y coords) used to draw a tooth */ struct point p[7]; - /* Calculate needed sin/cos for varius angles */ + /* Calculate needed sin/cos for various angles */ sincos(i * 2.0 * G_PI / teeth + da * 0, &s[0], &c[0]); sincos(i * 2.0 * M_PI / teeth + da * 1, &s[1], &c[1]); sincos(i * 2.0 * M_PI / teeth + da * 2, &s[2], &c[2]); @@ -800,7 +800,7 @@ gtk_gears_realize (GtkWidget *widget) priv->LightSourcePosition_location = glGetUniformLocation(program, "LightSourcePosition"); priv->MaterialColor_location = glGetUniformLocation(program, "MaterialColor"); - /* Set the LightSourcePosition uniform which is constant throught the program */ + /* Set the LightSourcePosition uniform which is constant throughout the program */ glUniform4fv(priv->LightSourcePosition_location, 1, priv->LightSourcePosition); /* make the gears */ diff --git a/tests/testcellarea.c b/tests/testcellarea.c index c86eb75276..7fdc444ac5 100644 --- a/tests/testcellarea.c +++ b/tests/testcellarea.c @@ -508,7 +508,7 @@ background_area (void) gtk_window_set_title (GTK_WINDOW (window), "Background Area"); - label = gtk_label_new ("In this example, row spacing gets devided into the background area, " + label = gtk_label_new ("In this example, row spacing gets divided into the background area, " "column spacing is added between each background area, item_padding is " "prepended space distributed to the background area."); gtk_label_set_wrap (GTK_LABEL (label), TRUE); diff --git a/tests/testinhibitshortcuts.c b/tests/testinhibitshortcuts.c index 967a3f0ed5..caecf43751 100644 --- a/tests/testinhibitshortcuts.c +++ b/tests/testinhibitshortcuts.c @@ -87,7 +87,7 @@ main (int argc, char *argv[]) gtk_widget_set_vexpand (text_view, TRUE); gtk_box_append (GTK_BOX (vbox), text_view); - button = gtk_check_button_new_with_label ("Inhibit system keyboard shorcuts"); + button = gtk_check_button_new_with_label ("Inhibit system keyboard shortcuts"); gtk_box_append (GTK_BOX (vbox), button); g_signal_connect (G_OBJECT (button), "toggled", diff --git a/tests/testverticalcells.c b/tests/testverticalcells.c index b5487a26d9..51df9c1e5c 100644 --- a/tests/testverticalcells.c +++ b/tests/testverticalcells.c @@ -108,7 +108,7 @@ static TreeEntry other_entries[] = { { "zoom-fit-best", - "Thats the\n" + "That's the\n" "perfect fit", "Now fitting foo into bar using frobnicator", "using his nifty wide angle lense, he was able to catch a 'dark salmon', it was no flying pig " @@ -121,7 +121,7 @@ static TreeEntry other_entries[] = "format-text-underline", "Under the\n" "line", - "Now underlining that this demo would look alot niftier with some real content", + "Now underlining that this demo would look a lot niftier with some real content", "it was indeed strange to catch a red salmon while fishing for pigs in the deep sky blue.", "deep sky blue", 99, @@ -204,7 +204,7 @@ static TreeEntry main_entries[] = "folder", "The directory", "Currently scanning your directories.", - "jill didnt know what to make of the barking pigs either so she fed him sleeping pills", + "jill didn't know what to make of the barking pigs either so she fed him sleeping pills", "brown", 20, directory_entries @@ -214,7 +214,7 @@ static TreeEntry main_entries[] = "Now deleting\n" "the whole thing", "Time to delete the sucker", - "and he decided to just delete the whole conversation since it didnt make sense to him", + "and he decided to just delete the whole conversation since it didn't make sense to him", "dark orange", 26, NULL |