mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
*: Fix spelling mistakes found by codespell
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1410
This commit is contained in:

committed by
Robert Mader

parent
5962ee7939
commit
5ec9bde64f
@ -147,7 +147,7 @@ main (int argc, char *argv[])
|
||||
if (cally_util_a11y_init (&argc, &argv) == FALSE)
|
||||
{
|
||||
g_error ("This example requires the accessibility support, "
|
||||
"especifically AtkUtil implementation loaded, "
|
||||
"specifically AtkUtil implementation loaded, "
|
||||
"as it tries to register and remove event listeners");
|
||||
}
|
||||
|
||||
|
@ -29,10 +29,10 @@ actor_pivot (void)
|
||||
clutter_actor_set_pivot_point (actor_implicit, 0.5, 0.5);
|
||||
clutter_actor_set_pivot_point (actor_explicit, 0.5, 0.5);
|
||||
|
||||
/* Implict transformation */
|
||||
/* Implicit transformation */
|
||||
clutter_actor_set_rotation_angle (actor_implicit, CLUTTER_Z_AXIS, angle);
|
||||
|
||||
/* Explict transformation */
|
||||
/* Explicit transformation */
|
||||
clutter_matrix_init_identity(&transform);
|
||||
cogl_matrix_rotate (&transform, angle, 0, 0, 1.0);
|
||||
clutter_actor_set_transform (actor_explicit, &transform);
|
||||
|
@ -218,7 +218,7 @@ test_coglbox_paint (ClutterActor *self,
|
||||
cogl_framebuffer_rotate (framebuffer, priv->frame, 0, 1, 0);
|
||||
cogl_framebuffer_translate (framebuffer, -tex_width / 2, 0, 0);
|
||||
|
||||
/* Draw a hand and refect it */
|
||||
/* Draw a hand and reflect it */
|
||||
cogl_framebuffer_draw_textured_rectangle (framebuffer, material,
|
||||
0, 0, tex_width, tex_height,
|
||||
0, 0, 1, 1);
|
||||
|
@ -217,9 +217,9 @@ test_grab_main (int argc, char *argv[])
|
||||
|
||||
clutter_test_init (&argc, &argv);
|
||||
|
||||
g_print ("Red box: aquire grab on press, releases it on next button release\n");
|
||||
g_print ("Blue box: aquire grab on press, destroys the blue box actor on release\n");
|
||||
g_print ("Yellow box: aquire grab on press, releases grab on next press on yellow box\n");
|
||||
g_print ("Red box: acquire grab on press, releases it on next button release\n");
|
||||
g_print ("Blue box: acquire grab on press, destroys the blue box actor on release\n");
|
||||
g_print ("Yellow box: acquire grab on press, releases grab on next press on yellow box\n");
|
||||
g_print ("Green box: toggle per actor motion events.\n\n");
|
||||
g_print ("Cyan box: toggle grab (from cyan box) for keyboard events.\n\n");
|
||||
|
||||
|
@ -23,7 +23,7 @@ class Database
|
||||
[1,0,1, 0.8],
|
||||
[1,1,0, 0.8],
|
||||
#[0.5,0.5,0.5,0.8],
|
||||
# gray doesnt have sufficient contrast against background
|
||||
# gray doesn't have sufficient contrast against background
|
||||
[0.5,0.5,1, 0.8],
|
||||
[0.5,1,0.5, 0.8],
|
||||
[0.5,1,1, 0.8],
|
||||
|
@ -16,7 +16,7 @@ clutter_perf_fps_init (void)
|
||||
g_setenv ("vblank_mode", "0", FALSE);
|
||||
g_setenv ("CLUTTER_VBLANK", "none", FALSE);
|
||||
|
||||
/* also overrride internal default FPS */
|
||||
/* also override internal default FPS */
|
||||
g_setenv ("CLUTTER_DEFAULT_FPS", "1000", FALSE);
|
||||
|
||||
if (g_getenv ("CLUTTER_PERFORMANCE_TEST_DURATION"))
|
||||
@ -89,7 +89,7 @@ static gboolean perf_fake_mouse_cb (gpointer stage)
|
||||
if (!inited) /* XXX:
|
||||
force clutter to do handle our motion events,
|
||||
by forcibly updating the input device's state
|
||||
this shoudl be possible to do in a better
|
||||
this should be possible to do in a better
|
||||
manner in the future, a versioning check
|
||||
will have to be added when this is possible
|
||||
without a hack... and the means to do the
|
||||
|
@ -175,7 +175,7 @@ test_case_parse_window_id (TestCase *test,
|
||||
const char *slash = strchr (client_and_window_id, '/');
|
||||
char *tmp;
|
||||
if (slash == NULL)
|
||||
BAD_COMMAND ("client/window ID %s doesnt' contain a /", client_and_window_id);
|
||||
BAD_COMMAND ("client/window ID %s doesn't contain a /", client_and_window_id);
|
||||
|
||||
*window_id = slash + 1;
|
||||
|
||||
@ -1131,7 +1131,7 @@ main (int argc, char **argv)
|
||||
g_free (curdir);
|
||||
}
|
||||
|
||||
/* Then initalize mutter with a different set of arguments */
|
||||
/* Then initialize mutter with a different set of arguments */
|
||||
|
||||
char *fake_args[] = { NULL, (char *)"--wayland", (char *)"--nested" };
|
||||
fake_args[0] = argv[0];
|
||||
|
@ -207,7 +207,7 @@ main (int argc,
|
||||
meta_anonymous_file_close_fd (other_fd);
|
||||
|
||||
|
||||
/* Test an artificial out-of-space situation by setting the maximium file
|
||||
/* Test an artificial out-of-space situation by setting the maximum file
|
||||
* size this process may create to 2 bytes, if memfd_create with
|
||||
* MAPMODE_PRIVATE is used, everything should still work (the existing FD
|
||||
* should be used). */
|
||||
|
Reference in New Issue
Block a user