From 1d009c248eed8cd60ca2125cff40ce07a6a4934c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20Roussin-B=C3=A9langer?= Date: Thu, 17 Dec 2020 17:10:13 -0500 Subject: [PATCH] libweston: fix typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime Roussin-BĂ©langer --- include/libweston/libweston.h | 2 +- libweston/compositor.c | 12 ++++++------ libweston/content-protection.c | 2 +- libweston/timeline.c | 2 +- libweston/weston-log.c | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/libweston/libweston.h b/include/libweston/libweston.h index 44c7f24d..21c210cb 100644 --- a/include/libweston/libweston.h +++ b/include/libweston/libweston.h @@ -1467,7 +1467,7 @@ struct weston_surface { /* All the pending state, that wl_surface.commit will apply. */ struct weston_surface_state pending; - /* Matrices representating of the full transformation between + /* Matrices representing of the full transformation between * buffer and surface coordinates. These matrices are updated * using the weston_surface_build_buffer_matrix function. */ struct weston_matrix buffer_to_surface_matrix; diff --git a/libweston/compositor.c b/libweston/compositor.c index 1a88f964..12eb3cd8 100644 --- a/libweston/compositor.c +++ b/libweston/compositor.c @@ -5246,7 +5246,7 @@ weston_compositor_iterate_heads(struct weston_compositor *compositor, * If you cause \c iter to be removed from the list, you cannot use it to * continue iterating. Removing any other item is safe. * - * \ingroup ouput + * \ingroup output */ WL_EXPORT struct weston_head * weston_output_iterate_heads(struct weston_output *output, @@ -6125,7 +6125,7 @@ weston_compositor_remove_output(struct weston_output *output) * It only supports setting scale for an output that * is not enabled and it can only be ran once. * - * \ingroup ouput + * \ingroup output */ WL_EXPORT void weston_output_set_scale(struct weston_output *output, @@ -6517,7 +6517,7 @@ weston_compositor_flush_heads_changed(struct weston_compositor *compositor) * @note This is for the final destruction of an output, not when it gets * disabled. If you want to keep track of enabled outputs, this is not it. * - * \ingroup ouput + * \ingroup output */ WL_EXPORT void weston_output_add_destroy_listener(struct weston_output *output, @@ -6555,7 +6555,7 @@ weston_output_get_destroy_listener(struct weston_output *output, * All fields of weston_output become uninitialized, i.e. should not be used * anymore. The caller can free the memory after this. * - * \ingroup ouput + * \ingroup output * \internal */ WL_EXPORT void @@ -6677,7 +6677,7 @@ weston_compositor_create_output_with_head(struct weston_compositor *compositor, * weston_compositor_destroy() will automatically destroy any remaining * outputs. * - * \ingroup ouput + * \ingroup output */ WL_EXPORT void weston_output_destroy(struct weston_output *output) @@ -6693,7 +6693,7 @@ weston_output_destroy(struct weston_output *output) * \param output The weston_output whose head to get. * \return The first head in the output's list. * - * \ingroup ouput + * \ingroup output */ WL_EXPORT struct weston_head * weston_output_get_first_head(struct weston_output *output) diff --git a/libweston/content-protection.c b/libweston/content-protection.c index 625d3567..98b93fc0 100644 --- a/libweston/content-protection.c +++ b/libweston/content-protection.c @@ -93,7 +93,7 @@ set_type(struct wl_client *client, struct wl_resource *resource, "wl_surface@%"PRIu32" Invalid content-type %d for request:set_type\n", wl_resource_get_id(surface_resource), content_type); - content_protection_log(cp, "wl_surface@%"PRIu32" Invalid content-type %d for resquest:set_type\n", + content_protection_log(cp, "wl_surface@%"PRIu32" Invalid content-type %d for request:set_type\n", wl_resource_get_id(surface_resource), content_type); return; } diff --git a/libweston/timeline.c b/libweston/timeline.c index d5738f48..7b6f25c8 100644 --- a/libweston/timeline.c +++ b/libweston/timeline.c @@ -362,7 +362,7 @@ weston_timeline_get_subscription_object(struct weston_log_subscription *sub, * Can be used from outside libweston. * * @param wc a weston_compositor instance - * @param object the underyling object + * @param object the underlying object * * @ingroup log */ diff --git a/libweston/weston-log.c b/libweston/weston-log.c index b6f46c31..276fde26 100644 --- a/libweston/weston-log.c +++ b/libweston/weston-log.c @@ -462,7 +462,7 @@ compositor_destroy_listener(struct wl_listener *listener, void *data) struct weston_log_context *log_ctx = wl_container_of(listener, log_ctx, compositor_destroy_listener); - /* We have to keep this list initalized as weston_log_ctx_destroy() has + /* We have to keep this list initialized as weston_log_ctx_destroy() has * to check if there's any compositor destroy listener registered */ wl_list_remove(&log_ctx->compositor_destroy_listener.link); wl_list_init(&log_ctx->compositor_destroy_listener.link); @@ -745,7 +745,7 @@ weston_log_subscription_complete(struct weston_log_subscription *sub) * * Complete the log scope, calling each stream's complete callback if one was * installed/created. This can be useful to signal the reading end that the - * data has been transmited and should no longer expect that written over the + * data has been transmitted and should no longer expect that written over the * stream. Particularly useful for the weston-debug protocol. * * @memberof weston_log_scope