libweston: fix typos

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
dev
Maxime Roussin-Bélanger 4 years ago
parent 35e34505ce
commit 1d009c248e
  1. 2
      include/libweston/libweston.h
  2. 12
      libweston/compositor.c
  3. 2
      libweston/content-protection.c
  4. 2
      libweston/timeline.c
  5. 4
      libweston/weston-log.c

@ -1467,7 +1467,7 @@ struct weston_surface {
/* All the pending state, that wl_surface.commit will apply. */ /* All the pending state, that wl_surface.commit will apply. */
struct weston_surface_state pending; 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 * buffer and surface coordinates. These matrices are updated
* using the weston_surface_build_buffer_matrix function. */ * using the weston_surface_build_buffer_matrix function. */
struct weston_matrix buffer_to_surface_matrix; struct weston_matrix buffer_to_surface_matrix;

@ -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 * If you cause \c iter to be removed from the list, you cannot use it to
* continue iterating. Removing any other item is safe. * continue iterating. Removing any other item is safe.
* *
* \ingroup ouput * \ingroup output
*/ */
WL_EXPORT struct weston_head * WL_EXPORT struct weston_head *
weston_output_iterate_heads(struct weston_output *output, 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 * It only supports setting scale for an output that
* is not enabled and it can only be ran once. * is not enabled and it can only be ran once.
* *
* \ingroup ouput * \ingroup output
*/ */
WL_EXPORT void WL_EXPORT void
weston_output_set_scale(struct weston_output *output, 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 * @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. * disabled. If you want to keep track of enabled outputs, this is not it.
* *
* \ingroup ouput * \ingroup output
*/ */
WL_EXPORT void WL_EXPORT void
weston_output_add_destroy_listener(struct weston_output *output, 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 * All fields of weston_output become uninitialized, i.e. should not be used
* anymore. The caller can free the memory after this. * anymore. The caller can free the memory after this.
* *
* \ingroup ouput * \ingroup output
* \internal * \internal
*/ */
WL_EXPORT void 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 * weston_compositor_destroy() will automatically destroy any remaining
* outputs. * outputs.
* *
* \ingroup ouput * \ingroup output
*/ */
WL_EXPORT void WL_EXPORT void
weston_output_destroy(struct weston_output *output) 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. * \param output The weston_output whose head to get.
* \return The first head in the output's list. * \return The first head in the output's list.
* *
* \ingroup ouput * \ingroup output
*/ */
WL_EXPORT struct weston_head * WL_EXPORT struct weston_head *
weston_output_get_first_head(struct weston_output *output) weston_output_get_first_head(struct weston_output *output)

@ -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_surface@%"PRIu32" Invalid content-type %d for request:set_type\n",
wl_resource_get_id(surface_resource), content_type); 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); wl_resource_get_id(surface_resource), content_type);
return; return;
} }

@ -362,7 +362,7 @@ weston_timeline_get_subscription_object(struct weston_log_subscription *sub,
* Can be used from outside libweston. * Can be used from outside libweston.
* *
* @param wc a weston_compositor instance * @param wc a weston_compositor instance
* @param object the underyling object * @param object the underlying object
* *
* @ingroup log * @ingroup log
*/ */

@ -462,7 +462,7 @@ compositor_destroy_listener(struct wl_listener *listener, void *data)
struct weston_log_context *log_ctx = struct weston_log_context *log_ctx =
wl_container_of(listener, log_ctx, compositor_destroy_listener); 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 */ * to check if there's any compositor destroy listener registered */
wl_list_remove(&log_ctx->compositor_destroy_listener.link); wl_list_remove(&log_ctx->compositor_destroy_listener.link);
wl_list_init(&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 * 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 * 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. * stream. Particularly useful for the weston-debug protocol.
* *
* @memberof weston_log_scope * @memberof weston_log_scope

Loading…
Cancel
Save