diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-11-17 22:24:18 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-11-17 22:49:45 -0500 |
commit | b12d31d1898059b47d367cc4d11b01dd67cf5330 (patch) | |
tree | 6a9aa8572285475b39a2cbd9ba25ab1205dd71e0 /gsk | |
parent | 0d2161ee404a3262fdc1d0612e012a3f5710199b (diff) | |
download | gtk+-b12d31d1898059b47d367cc4d11b01dd67cf5330.tar.gz |
Fix spelling errors
These were pointed out by codespell.
Diffstat (limited to 'gsk')
-rw-r--r-- | gsk/broadway/gskbroadwayrenderer.c | 2 | ||||
-rw-r--r-- | gsk/gl/gskgldriver.c | 2 | ||||
-rw-r--r-- | gsk/gl/gskglprogram.c | 2 | ||||
-rw-r--r-- | gsk/gl/gskglrenderjob.c | 2 | ||||
-rw-r--r-- | gsk/gskglshader.c | 2 | ||||
-rw-r--r-- | gsk/gskrendernodeimpl.c | 10 | ||||
-rw-r--r-- | gsk/vulkan/gskvulkanclip.c | 2 |
7 files changed, 11 insertions, 11 deletions
diff --git a/gsk/broadway/gskbroadwayrenderer.c b/gsk/broadway/gskbroadwayrenderer.c index 5ac62e7ee0..bfd7270f56 100644 --- a/gsk/broadway/gskbroadwayrenderer.c +++ b/gsk/broadway/gskbroadwayrenderer.c @@ -810,7 +810,7 @@ gsk_broadway_renderer_add_node (GskRenderer *renderer, /* We prune fully clipped children, but we only do this for container_node, as * we don't have a way for any other nodes to say there are children missing (i.e. * bins always assume there is a child). - * Pruning is really only useful for large sets of children anyway, so thats + * Pruning is really only useful for large sets of children anyway, so that's * probably fine. */ GskRenderNode *child = gsk_container_node_get_child (node, i); if (node_is_visible (child, clip_bounds)) diff --git a/gsk/gl/gskgldriver.c b/gsk/gl/gskgldriver.c index e6674fb02f..71ebf73ef8 100644 --- a/gsk/gl/gskgldriver.c +++ b/gsk/gl/gskgldriver.c @@ -641,7 +641,7 @@ gsk_gl_driver_after_frame (GskGLDriver *self) self->texture_pool->len = 0; } - /* Reset command queue to our shared queue incase we have operations + /* Reset command queue to our shared queue in case we have operations * that need to be processed outside of a frame (such as callbacks * from external systems such as GDK). */ diff --git a/gsk/gl/gskglprogram.c b/gsk/gl/gskglprogram.c index 66171b5bfb..7288284593 100644 --- a/gsk/gl/gskglprogram.c +++ b/gsk/gl/gskglprogram.c @@ -153,7 +153,7 @@ gsk_gl_program_delete (GskGLProgram *self) * @self: a `GskGLProgram` * @has_attachments: if any uniform is for a bind/texture attachment * - * This function should be called after all of the uniforms ahve + * This function should be called after all of the uniforms have * been added with gsk_gl_program_add_uniform(). * * This function will setup the uniform state so that the program diff --git a/gsk/gl/gskglrenderjob.c b/gsk/gl/gskglrenderjob.c index 97b3d9d4c9..e0c87cadf0 100644 --- a/gsk/gl/gskglrenderjob.c +++ b/gsk/gl/gskglrenderjob.c @@ -1488,7 +1488,7 @@ gsk_gl_render_job_visit_color_node (GskGLRenderJob *job, program = CHOOSE_PROGRAM (job, coloring); batch = gsk_gl_command_queue_get_batch (job->command_queue); - /* Limit the size, or we end up with a coordinate overflow somwhere. */ + /* Limit the size, or we end up with a coordinate overflow somewhere. */ if (node->bounds.size.width < 300 && node->bounds.size.height < 300 && batch->any.kind == GSK_GL_COMMAND_KIND_DRAW && diff --git a/gsk/gskglshader.c b/gsk/gskglshader.c index b8d5566d29..96a4eb14a2 100644 --- a/gsk/gskglshader.c +++ b/gsk/gskglshader.c @@ -105,7 +105,7 @@ * ``` * * This samples a texture (e.g. u_texture1) at the specified - * coordinates, and containes some helper ifdefs to ensure that + * coordinates, and contains some helper ifdefs to ensure that * it works on all OpenGL versions. * * You can compile the shader yourself using [method@Gsk.GLShader.compile], diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c index 36505cd24e..286269ec15 100644 --- a/gsk/gskrendernodeimpl.c +++ b/gsk/gskrendernodeimpl.c @@ -553,7 +553,7 @@ gsk_radial_gradient_node_diff (GskRenderNode *node1, * * The radial gradient * starts around @center. The size of the gradient is dictated by @hradius - * in horizontal orientation and by @vradius in vertial orientation. + * in horizontal orientation and by @vradius in vertical orientation. * * Returns: (transfer full) (type GskRadialGradientNode): A new `GskRenderNode` */ @@ -622,7 +622,7 @@ gsk_radial_gradient_node_new (const graphene_rect_t *bounds, * * The radial gradient starts around @center. The size of the gradient * is dictated by @hradius in horizontal orientation and by @vradius - * in vertial orientation. + * in vertical orientation. * * Returns: (transfer full) (type GskRepeatingRadialGradientNode): A new `GskRenderNode` */ @@ -730,7 +730,7 @@ gsk_radial_gradient_node_get_center (const GskRenderNode *node) * gsk_radial_gradient_node_get_hradius: * @node: (type GskRadialGradientNode): a `GskRenderNode` for a radial gradient * - * Retrieves the horizonal radius for the gradient. + * Retrieves the horizontal radius for the gradient. * * Returns: the horizontal radius for the gradient */ @@ -2890,7 +2890,7 @@ gsk_transform_node_draw (GskRenderNode *node, /* broken matrix here. This can happen during transitions * (like when flipping an axis at the point where scale == 0) * and just means that nothing should be drawn. - * But Cairo thows lots of ugly errors instead of silently + * But Cairo throws lots of ugly errors instead of silently * going on. So We silently go on. */ return; @@ -5178,7 +5178,7 @@ gsk_gl_shader_node_diff (GskRenderNode *node1, * @args: Arguments for the uniforms * @children: (nullable) (array length=n_children): array of child nodes, * these will be rendered to textures and used as input. - * @n_children: Length of @children (currenly the GL backend supports + * @n_children: Length of @children (currently the GL backend supports * up to 4 children) * * Creates a `GskRenderNode` that will render the given @shader into the diff --git a/gsk/vulkan/gskvulkanclip.c b/gsk/vulkan/gskvulkanclip.c index fa8d561c00..c157b4aab6 100644 --- a/gsk/vulkan/gskvulkanclip.c +++ b/gsk/vulkan/gskvulkanclip.c @@ -132,7 +132,7 @@ gsk_vulkan_clip_intersect_rounded_rect (GskVulkanClip *dest, gsk_rounded_rect_init_copy (&dest->rect, rounded); return TRUE; } - /* XXX: Can be improved for the case where one of the rects is a slighty shrunk version of the other */ + /* XXX: Can be improved for the case where one of the rects is a slightly shrunk version of the other */ return FALSE; default: |