diff --git a/NEWS b/NEWS index 770552e61..372eee9b7 100644 --- a/NEWS +++ b/NEWS @@ -659,7 +659,7 @@ Translators: * wayland: Make each wl_output correspond to one monitor [Jonas; !1712] * Expose 'inactive-since' timestamp to uresourced [Nishal; !1960] * Pass dirty rects to secondary GPU [Piotr; !1879] -* Support commiting preedit string on focus loss [Carlos; !1940] +* Support committing preedit string on focus loss [Carlos; !1940] * Improve auto-rotation support [Marco; !1233] * Add meta_window_actor_paint_to_content() [Robert; !1893] * Fixed crashes [Jonas, Ray, Robert; !1947, !1979, !1965, !1958] @@ -1068,7 +1068,7 @@ Translators: * Optimize resource scale computation [Jonas D.; !1196, !1276, !1343] * Allow animating ClutterActor's content property [Georges; !1301] * Implement backgrounds as ClutterContent [Georges; !1302] -* Add ClutterAlignContraint:pivot-point property [Jonas D.; !737] +* Add ClutterAlignConstraint:pivot-point property [Jonas D.; !737] * Fix crash on area screenshots with fractional scaling [Sebastian; !1320] * Do not paint textures of fully obscured windows [Robert; !1326] * Use a more appropriate combine function on opaque areas [Daniel; !1331] @@ -3603,7 +3603,7 @@ Translations: wasn't usable from a GNOME Shell extension, so has been changed to take a GSettings object rather than the name of a schema [Jasper; #673014] * Don't try to auto-maximize not-maximizable windows; this fixes the problem - with the Nautilus desktop window being mis-positioned when enabled + with the Nautilus desktop window being mispositioned when enabled [Owen; #673566] * Fix a crash in the default plugin (not used in GNOME) [Giovanni; #673809] * Make the key work when set as the mouse button modifier @@ -3718,7 +3718,7 @@ Translations: * Handle changes to workspaces-only-on-primary GSetting [Florian; #664853] * Don't use the Clutter default stage [Jasper; #664028] * Fix compilation with --disable-introspection [Lionel; #661871] -* Fix problem where stage could end up mis-sized on startup with +* Fix problem where stage could end up missized on startup with multiple monitors [Lionel] * Misc bug fixes [Adel, Lionel, Jasper; #666015] @@ -4045,7 +4045,7 @@ Translations: meta_window_get_monitor() MetaWindow::window-entered-monitor, -Added dummy padding for future vt expasion +Added dummy padding for future vt expansion Added dummy padding on the different classes structures, to allow future expansion of virtual methods. @@ -393,7 +393,7 @@ Manage properly ATK_STATE_ACTIVE on CallyStage * cally/cally-stage.c Added private struct -(cally_stage_class_init),(cally_stage_init),(cally_stage_real_initalize): +(cally_stage_class_init),(cally_stage_init),(cally_stage_real_initialize): Initialization stuff (cally_stage_activate_cb) (cally_stage_deactivate_cb): new ClutterStage signal callbacks, change @@ -975,7 +975,7 @@ Missing cail-rectangle.[ch] files, according 2009-02-23 entry at Changelog 2009-02-18 Alejandro Pinheiro - * configure.ac: added aditional compile flags + * configure.ac: added additional compile flags * cail/cail-actor.[ch]: Reimplemented support for AtkAction interface * cail/cail-root.[ch]: code style review diff --git a/clutter/clutter/cally/cally-actor.c b/clutter/clutter/cally/cally-actor.c index 034ffd5d6..cf5431225 100644 --- a/clutter/clutter/cally/cally-actor.c +++ b/clutter/clutter/cally/cally-actor.c @@ -41,7 +41,7 @@ * has a key focus managed by the stage. Basically any actor can be focused using * clutter_stage_set_key_focus. So, we will use this approach: all actors are * focusable, and we get the currently focused using clutter_stage_get_key_focus - * This affects focus related stateset and some atk_componenet focus methods (like + * This affects focus related stateset and some atk_component focus methods (like * grab focus). * * In the same way, we will manage the focus state change management diff --git a/clutter/clutter/cally/cally-clone.c b/clutter/clutter/cally/cally-clone.c index 9dadb4c27..264d5eb63 100644 --- a/clutter/clutter/cally/cally-clone.c +++ b/clutter/clutter/cally/cally-clone.c @@ -35,7 +35,7 @@ * * In the old times, it was just ClutterCloneTexture. So, from a a11y POV * CallyCloneTexture was just another image, like ClutterTexture, and if - * it was a clone was irrevelant. So on cally-0.8, CallyCloneTexture + * it was a clone was irrelevant. So on cally-0.8, CallyCloneTexture * expose a object with role ATK_ROLE_IMAGE. But now, ClutterClone is more * general. You can clone any object, including groups, and made things * like have one text entry, and a clone with different properties in the diff --git a/clutter/clutter/clutter-container.c b/clutter/clutter/clutter-container.c index 3df442789..138d15dc2 100644 --- a/clutter/clutter/clutter-container.c +++ b/clutter/clutter/clutter-container.c @@ -518,7 +518,7 @@ destroy_child_meta (ClutterContainer *container, * @container specific state for @actor. * * Return value: (transfer none): the #ClutterChildMeta for the @actor child - * of @container or %NULL if the specifiec actor does not exist or the + * of @container or %NULL if the specific actor does not exist or the * container is not configured to provide `ClutterChildMeta`s */ ClutterChildMeta * diff --git a/clutter/clutter/clutter-effect.c b/clutter/clutter/clutter-effect.c index ff20cddb5..6f8e5d531 100644 --- a/clutter/clutter/clutter-effect.c +++ b/clutter/clutter/clutter-effect.c @@ -150,7 +150,7 @@ * static void * my_effect_class_init (MyEffectClass *klass) * { - * ClutterActorMetaClas *meta_class = CLUTTER_ACTOR_META_CLASS (klass); + * ClutterActorMetaClass *meta_class = CLUTTER_ACTOR_META_CLASS (klass); * * meta_class->set_actor = my_effect_set_actor; * diff --git a/clutter/clutter/clutter-enums.h b/clutter/clutter/clutter-enums.h index b2783c9c8..11df3e732 100644 --- a/clutter/clutter/clutter-enums.h +++ b/clutter/clutter/clutter-enums.h @@ -1246,7 +1246,7 @@ typedef enum * @CLUTTER_COLORSPACE_SRGB: Default sRGB colorspace * @CLUTTER_COLORSPACE_BT2020: BT2020 colorspace * - * Colorspace informations. + * Colorspace information. */ typedef enum { diff --git a/clutter/clutter/clutter-input-device-private.h b/clutter/clutter/clutter-input-device-private.h index 220687f08..d097108af 100644 --- a/clutter/clutter/clutter-input-device-private.h +++ b/clutter/clutter/clutter-input-device-private.h @@ -52,7 +52,7 @@ struct _ClutterInputDevice { GObject parent_instance; - /* Accessiblity */ + /* Accessibility */ ClutterVirtualInputDevice *accessibility_virtual_device; ClutterPtrA11yData *ptr_a11y_data; }; diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c index 83cdcd2a5..963b15be0 100644 --- a/clutter/clutter/clutter-main.c +++ b/clutter/clutter/clutter-main.c @@ -289,7 +289,7 @@ _clutter_threads_dispatch_free (gpointer data) * range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE * @func: function to call * @data: data to pass to the function - * @notify: functio to call when the idle source is removed + * @notify: function to call when the idle source is removed * * Adds a function to be called whenever there are no higher priority * events pending. If the function returns %FALSE it is automatically diff --git a/clutter/clutter/clutter-paint-nodes.c b/clutter/clutter/clutter-paint-nodes.c index 5ccc19cd2..259c8cdff 100644 --- a/clutter/clutter/clutter-paint-nodes.c +++ b/clutter/clutter/clutter-paint-nodes.c @@ -1586,7 +1586,7 @@ clutter_layer_node_new (const graphene_matrix_t *projection, * @framebuffer. It will then use @pipeline to paint the stored * operations. * - * When using this constructor, the caller is reponsible for setting + * When using this constructor, the caller is responsible for setting * up @framebuffer, including its modelview and projection matrices, * and the viewport, and the @pipeline as well. * diff --git a/clutter/clutter/clutter-script.c b/clutter/clutter/clutter-script.c index 10afc2c1f..b92b3221e 100644 --- a/clutter/clutter/clutter-script.c +++ b/clutter/clutter/clutter-script.c @@ -715,7 +715,7 @@ construct_each_objects (gpointer key, /* we have unfinished business */ if (oinfo->has_unresolved) { - /* this should not happen, but resilence is + /* this should not happen, but resilience is * a good thing in a parser */ if (oinfo->object == NULL) diff --git a/clutter/clutter/clutter-seat.c b/clutter/clutter/clutter-seat.c index 9dcec5475..b890e989d 100644 --- a/clutter/clutter/clutter-seat.c +++ b/clutter/clutter/clutter-seat.c @@ -171,7 +171,7 @@ clutter_seat_class_init (ClutterSeatClass *klass) * * The signal is emitted each time either the * latched modifiers mask or locked modifiers mask are changed as the - * result of keyboard accessibilty's sticky keys operations. + * result of keyboard accessibility's sticky keys operations. */ signals[KBD_A11Y_MASK_CHANGED] = g_signal_new (I_("kbd-a11y-mods-state-changed"), diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c index 17d4d6f0c..03999f3f9 100644 --- a/clutter/clutter/clutter-stage.c +++ b/clutter/clutter/clutter-stage.c @@ -4215,7 +4215,7 @@ setup_implicit_grab (PointerDeviceEntry *entry) } CLUTTER_NOTE (GRABS, - "[device=%p sequence=%p] Aquiring implicit grab", + "[device=%p sequence=%p] Acquiring implicit grab", entry->device, entry->sequence); g_assert (entry->press_count == 0); diff --git a/clutter/clutter/clutter-units.c b/clutter/clutter/clutter-units.c index 36f79b6d5..aba03997d 100644 --- a/clutter/clutter/clutter-units.c +++ b/clutter/clutter/clutter-units.c @@ -141,7 +141,7 @@ units_em_to_pixels (const gchar *font_name, * @units: (out caller-allocates): a #ClutterUnits * @mm: millimeters * - * Stores a value in millimiters inside @units + * Stores a value in millimeters inside @units */ void clutter_units_from_mm (ClutterUnits *units, diff --git a/cogl/cogl/cogl-boxed-value.c b/cogl/cogl/cogl-boxed-value.c index 5736413a6..c255cd807 100644 --- a/cogl/cogl/cogl-boxed-value.c +++ b/cogl/cogl/cogl-boxed-value.c @@ -109,9 +109,9 @@ _cogl_boxed_value_equal (const CoglBoxedValue *bva, } static void -_cogl_boxed_value_tranpose (float *dst, - int size, - const float *src) +_cogl_boxed_value_transpose (float *dst, + int size, + const float *src) { int y, x; @@ -141,9 +141,9 @@ _cogl_boxed_value_set_x (CoglBoxedValue *bv, g_free (bv->v.array); if (transpose) - _cogl_boxed_value_tranpose (bv->v.float_value, - size, - value); + _cogl_boxed_value_transpose (bv->v.float_value, + size, + value); else memcpy (bv->v.float_value, value, value_size); } @@ -167,11 +167,11 @@ _cogl_boxed_value_set_x (CoglBoxedValue *bv, int value_num; for (value_num = 0; value_num < count; value_num++) - _cogl_boxed_value_tranpose (bv->v.float_array + - value_num * size * size, - size, - (const float *) value + - value_num * size * size); + _cogl_boxed_value_transpose (bv->v.float_array + + value_num * size * size, + size, + (const float *) value + + value_num * size * size); } else memcpy (bv->v.array, value, count * value_size); diff --git a/cogl/cogl/cogl-buffer.c b/cogl/cogl/cogl-buffer.c index 1e4140bb5..cd3e5af8e 100644 --- a/cogl/cogl/cogl-buffer.c +++ b/cogl/cogl/cogl-buffer.c @@ -335,7 +335,7 @@ _cogl_buffer_unmap_for_fill_or_fallback (CoglBuffer *buffer) * * If we find this is a problem for real world applications * then in the path tessellation case we could potentially add an - * explicit cogl_path_tesselate_stroke() api that can throw an + * explicit cogl_path_tessellate_stroke() api that can throw an * error for the app to cache. For the journal we could * potentially flush the journal in smaller batches so we use * smaller buffers, though that would probably not help for diff --git a/cogl/cogl/cogl-journal.c b/cogl/cogl/cogl-journal.c index ab1821eed..5b5733317 100644 --- a/cogl/cogl/cogl-journal.c +++ b/cogl/cogl/cogl-journal.c @@ -86,10 +86,10 @@ #define N_POS_COMPONENTS POS_STRIDE #define COLOR_STRIDE 1 /* number of 32bit words */ #define TEX_STRIDE 2 /* number of 32bit words */ -#define MIN_LAYER_PADING 2 +#define MIN_LAYER_PADDING 2 #define GET_JOURNAL_VB_STRIDE_FOR_N_LAYERS(N_LAYERS) \ (POS_STRIDE + COLOR_STRIDE + \ - TEX_STRIDE * (N_LAYERS < MIN_LAYER_PADING ? MIN_LAYER_PADING : N_LAYERS)) + TEX_STRIDE * (N_LAYERS < MIN_LAYER_PADDING ? MIN_LAYER_PADDING : N_LAYERS)) /* If a batch is longer than this threshold then we'll assume it's not worth doing software clipping and it's cheaper to program the GPU @@ -664,8 +664,8 @@ compare_entry_strides (CoglJournalEntry *entry0, CoglJournalEntry *entry1) /* TODO: We should be padding the n_layers == 1 case as if it were * n_layers == 2 so we can reduce the need to split batches. */ if (entry0->n_layers == entry1->n_layers || - (entry0->n_layers <= MIN_LAYER_PADING && - entry1->n_layers <= MIN_LAYER_PADING)) + (entry0->n_layers <= MIN_LAYER_PADDING && + entry1->n_layers <= MIN_LAYER_PADDING)) return TRUE; else return FALSE; diff --git a/cogl/cogl/cogl-pipeline-cache.h b/cogl/cogl/cogl-pipeline-cache.h index 55e2874b1..2869ac866 100644 --- a/cogl/cogl/cogl-pipeline-cache.h +++ b/cogl/cogl/cogl-pipeline-cache.h @@ -53,7 +53,7 @@ _cogl_pipeline_cache_free (CoglPipelineCache *cache); * Gets a pipeline from the cache that has the same state as * @key_pipeline for the state in * COGL_PIPELINE_STATE_AFFECTS_FRAGMENT_CODEGEN. If there is no - * matching pipline already then a copy of key_pipeline is stored in + * matching pipeline already then a copy of key_pipeline is stored in * the cache so that it will be used next time the function is called * with a similar pipeline. In that case the copy itself will be * returned @@ -66,7 +66,7 @@ _cogl_pipeline_cache_get_fragment_template (CoglPipelineCache *cache, * Gets a pipeline from the cache that has the same state as * @key_pipeline for the state in * COGL_PIPELINE_STATE_AFFECTS_VERTEX_CODEGEN. If there is no - * matching pipline already then a copy of key_pipeline is stored in + * matching pipeline already then a copy of key_pipeline is stored in * the cache so that it will be used next time the function is called * with a similar pipeline. In that case the copy itself will be * returned @@ -80,7 +80,7 @@ _cogl_pipeline_cache_get_vertex_template (CoglPipelineCache *cache, * @key_pipeline for the combination of the state state in * COGL_PIPELINE_STATE_AFFECTS_VERTEX_CODEGEN and * COGL_PIPELINE_STATE_AFFECTS_FRAGMENT_CODEGEN. If there is no - * matching pipline already then a copy of key_pipeline is stored in + * matching pipeline already then a copy of key_pipeline is stored in * the cache so that it will be used next time the function is called * with a similar pipeline. In that case the copy itself will be * returned diff --git a/cogl/cogl/cogl-pipeline-layer.c b/cogl/cogl/cogl-pipeline-layer.c index a84cfd54e..3d13a738c 100644 --- a/cogl/cogl/cogl-pipeline-layer.c +++ b/cogl/cogl/cogl-pipeline-layer.c @@ -513,7 +513,7 @@ _cogl_pipeline_layer_compare_differences (CoglPipelineLayer *layer0, /* Algorithm: * * 1) Walk the ancestors of each layer to the root node, adding a - * pointer to each ancester node to two linked lists + * pointer to each ancestor node to two linked lists * * 2) Compare the lists to find the nodes where they start to * differ marking the common_ancestor node for each list. diff --git a/cogl/cogl/cogl-pipeline.c b/cogl/cogl/cogl-pipeline.c index 7399405a3..22c8d955f 100644 --- a/cogl/cogl/cogl-pipeline.c +++ b/cogl/cogl/cogl-pipeline.c @@ -74,7 +74,7 @@ COGL_GTYPE_DEFINE_CLASS (Pipeline, pipeline); * subsequently instantiated pipelines created via the cogl_pipeline_new() * API will initially be a copy of this pipeline. * - * The default pipeline is the topmost ancester for all pipelines. + * The default pipeline is the topmost ancestor for all pipelines. */ void _cogl_pipeline_init_default_pipeline (void) @@ -1889,7 +1889,7 @@ _cogl_pipeline_compare_differences (CoglPipeline *pipeline0, /* Algorithm: * * 1) Walk the ancestors of each pipeline to the root node, adding a - * pointer to each ancester node to two linked lists + * pointer to each ancestor node to two linked lists * * 2) Compare the lists to find the nodes where they start to * differ marking the common_ancestor node for each list. diff --git a/cogl/cogl/cogl-texture-private.h b/cogl/cogl/cogl-texture-private.h index 1354c997d..a512ed9e1 100644 --- a/cogl/cogl/cogl-texture-private.h +++ b/cogl/cogl/cogl-texture-private.h @@ -149,7 +149,7 @@ struct _CoglTextureVtable gboolean value); }; -typedef enum _CoglTextureSoureType { +typedef enum _CoglTextureSourceType { COGL_TEXTURE_SOURCE_TYPE_SIZE = 1, COGL_TEXTURE_SOURCE_TYPE_BITMAP, COGL_TEXTURE_SOURCE_TYPE_EGL_IMAGE, diff --git a/cogl/cogl/cogl-texture.h b/cogl/cogl/cogl-texture.h index ba61d3f98..6139c41b5 100644 --- a/cogl/cogl/cogl-texture.h +++ b/cogl/cogl/cogl-texture.h @@ -222,7 +222,7 @@ cogl_texture_set_premultiplied (CoglTexture *texture, * green and blue components for the given @texture as set by * cogl_texture_set_premultiplied(). * - * By default the pre-multipled state is @TRUE. + * By default the pre-multiplied state is @TRUE. * * Return value: %TRUE if red, green and blue components are * internally stored pre-multiplied by the alpha diff --git a/cogl/cogl/deprecated/cogl-shader.h b/cogl/cogl/deprecated/cogl-shader.h index 7e4e32a82..301880ea1 100644 --- a/cogl/cogl/deprecated/cogl-shader.h +++ b/cogl/cogl/deprecated/cogl-shader.h @@ -285,7 +285,7 @@ cogl_shader_source (CoglHandle shader, * Retrieves the type of a shader #CoglHandle * * Return value: %COGL_SHADER_TYPE_VERTEX if the shader is a vertex processor - * or %COGL_SHADER_TYPE_FRAGMENT if the shader is a frament processor + * or %COGL_SHADER_TYPE_FRAGMENT if the shader is a fragment processor * Deprecated: 1.16: Use #CoglSnippet api */ COGL_DEPRECATED_FOR (cogl_snippet_) diff --git a/cogl/cogl/winsys/cogl-onscreen-xlib.c b/cogl/cogl/winsys/cogl-onscreen-xlib.c index 51bcaa037..5568da194 100644 --- a/cogl/cogl/winsys/cogl-onscreen-xlib.c +++ b/cogl/cogl/winsys/cogl-onscreen-xlib.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2011,2013 Intel Corporation. - * Copyrigth (C) 2020 Red Hat + * Copyright (C) 2020 Red Hat * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation diff --git a/cogl/cogl/winsys/cogl-onscreen-xlib.h b/cogl/cogl/winsys/cogl-onscreen-xlib.h index 2a8b942d1..913826e15 100644 --- a/cogl/cogl/winsys/cogl-onscreen-xlib.h +++ b/cogl/cogl/winsys/cogl-onscreen-xlib.h @@ -1,6 +1,6 @@ /* * Copyright (C) 2011,2013 Intel Corporation. - * Copyrigth (C) 2020 Red Hat + * Copyright (C) 2020 Red Hat * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation diff --git a/src/backends/meta-input-capture-session.c b/src/backends/meta-input-capture-session.c index 03b2324d8..71c7d0414 100644 --- a/src/backends/meta-input-capture-session.c +++ b/src/backends/meta-input-capture-session.c @@ -698,7 +698,7 @@ check_barrier (MetaInputCaptureSession *session, meta_dbus_session_manager_get_backend (session->session_manager); MetaMonitorManager *monitor_manager = meta_backend_get_monitor_manager (backend); - gboolean has_adjecent_monitor = FALSE; + gboolean has_adjacent_monitor = FALSE; GList *logical_monitors; GList *l; @@ -731,13 +731,13 @@ check_barrier (MetaInputCaptureSession *session, case LINE_ADJACENCY_NONE: break; case LINE_ADJACENCY_CONTAINED: - if (has_adjecent_monitor) + if (has_adjacent_monitor) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_DATA, - "Adjecent to multiple monitor edges"); + "Adjacent to multiple monitor edges"); return FALSE; } - has_adjecent_monitor = TRUE; + has_adjacent_monitor = TRUE; break; case LINE_ADJACENCY_OVERLAP: g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_DATA, @@ -750,7 +750,7 @@ check_barrier (MetaInputCaptureSession *session, } } - return has_adjecent_monitor; + return has_adjacent_monitor; } static unsigned int diff --git a/src/backends/meta-remote-desktop-session.c b/src/backends/meta-remote-desktop-session.c index 0ce06f619..46409a785 100644 --- a/src/backends/meta-remote-desktop-session.c +++ b/src/backends/meta-remote-desktop-session.c @@ -1158,7 +1158,7 @@ meta_remote_desktop_session_cancel_transfer_requests (MetaRemoteDesktopSession * } static gboolean -transfer_request_cleanup_timout (gpointer user_data) +transfer_request_cleanup_timeout (gpointer user_data) { MetaRemoteDesktopSession *session = user_data; @@ -1307,7 +1307,7 @@ reset_transfer_cleanup_timeout (MetaRemoteDesktopSession *session) g_clear_handle_id (&session->transfer_request_timeout_id, g_source_remove); session->transfer_request_timeout_id = g_timeout_add (TRANSFER_REQUEST_CLEANUP_TIMEOUT_MS, - transfer_request_cleanup_timout, + transfer_request_cleanup_timeout, session); } diff --git a/src/backends/meta-screen-cast-stream-src.c b/src/backends/meta-screen-cast-stream-src.c index 37d0bffe4..32dee99c8 100644 --- a/src/backends/meta-screen-cast-stream-src.c +++ b/src/backends/meta-screen-cast-stream-src.c @@ -649,7 +649,7 @@ maybe_add_damaged_regions_metadata (MetaScreenCastStreamSrc *src, { spa_meta_for_each (meta_region, spa_meta_video_damage) { - g_warning ("Not enough buffers (%d) to accomodate damaged " + g_warning ("Not enough buffers (%d) to accommodate damaged " "regions (%d)", num_buffers_available, n_rectangles); meta_region->region = SPA_REGION (0, 0, priv->video_format.size.width, diff --git a/src/backends/native/meta-cursor-renderer-native.c b/src/backends/native/meta-cursor-renderer-native.c index 0062b2b2b..61e7f2ae3 100644 --- a/src/backends/native/meta-cursor-renderer-native.c +++ b/src/backends/native/meta-cursor-renderer-native.c @@ -1047,7 +1047,7 @@ realize_cursor_sprite_for_crtc (MetaCursorRenderer *renderer, meta_kms_crtc_get_id (kms_crtc), meta_kms_device_get_path (kms_device)); - COGL_TRACE_BEGIN_SCOPED (CursorRendererNAtiveRealize, + COGL_TRACE_BEGIN_SCOPED (CursorRendererNativeRealize, "Cursor Renderer Native (realize for crtc)"); if (META_IS_CURSOR_SPRITE_XCURSOR (cursor_sprite)) { diff --git a/src/backends/native/meta-seat-impl.c b/src/backends/native/meta-seat-impl.c index a94a63202..dcd699732 100644 --- a/src/backends/native/meta-seat-impl.c +++ b/src/backends/native/meta-seat-impl.c @@ -3508,7 +3508,7 @@ set_keyboard_map (GTask *task) * @seat_impl: the #ClutterSeat created by the evdev backend * @keymap: the new keymap * - * Instructs @evdev to use the speficied keyboard map. This will cause + * Instructs @evdev to use the specified keyboard map. This will cause * the backend to drop the state and create a new one with the new * map. To avoid state being lost, callers should ensure that no key * is pressed when calling this function. diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c index 0e1d26bc1..6b45ee91b 100644 --- a/src/compositor/compositor.c +++ b/src/compositor/compositor.c @@ -655,7 +655,7 @@ meta_compositor_switch_workspace (MetaCompositor *compositor, /* We have to explicitly call this to fix up stacking order of the * actors; this is because the abs stacking position of actors does not * necessarily change during the window hiding/unhiding, only their - * relative position toward the destkop window. + * relative position toward the desktop window. */ meta_finish_workspace_switch (compositor); } diff --git a/src/compositor/meta-multi-texture-format.c b/src/compositor/meta-multi-texture-format.c index 2c902c5fe..56b05464a 100644 --- a/src/compositor/meta-multi-texture-format.c +++ b/src/compositor/meta-multi-texture-format.c @@ -25,7 +25,7 @@ * Some pixel formats that are used in the wild are a bit more complex than * just ARGB and all its variants. For example: a component might be put in a * different plane (i.e. at a different place in memory). Another example are - * formats that use Y, U, and V components rather than RGB; if we composit them + * formats that use Y, U, and V components rather than RGB; if we composite them * onto an RGBA framebuffer, we have to make sure for example that these get * converted to the right color format first (using e.g. a shader). */ diff --git a/src/compositor/meta-surface-actor-wayland.c b/src/compositor/meta-surface-actor-wayland.c index 22266a988..050ece959 100644 --- a/src/compositor/meta-surface-actor-wayland.c +++ b/src/compositor/meta-surface-actor-wayland.c @@ -68,7 +68,7 @@ meta_surface_actor_wayland_is_opaque (MetaSurfaceActor *actor) return meta_shaped_texture_is_opaque (stex); } -#define UNOBSCURED_TRESHOLD 0.1 +#define UNOBSCURED_THRESHOLD 0.1 gboolean meta_surface_actor_wayland_is_view_primary (MetaSurfaceActor *actor, @@ -149,10 +149,10 @@ meta_surface_actor_wayland_is_view_primary (MetaSurfaceActor *actor, refresh_rate = clutter_stage_view_get_refresh_rate (view); if ((refresh_rate > highest_refresh_rate && - (biggest_unobscurred_fraction < UNOBSCURED_TRESHOLD || - unobscurred_fraction > UNOBSCURED_TRESHOLD)) || - (biggest_unobscurred_fraction < UNOBSCURED_TRESHOLD && - unobscurred_fraction > UNOBSCURED_TRESHOLD)) + (biggest_unobscurred_fraction < UNOBSCURED_THRESHOLD || + unobscurred_fraction > UNOBSCURED_THRESHOLD)) || + (biggest_unobscurred_fraction < UNOBSCURED_THRESHOLD && + unobscurred_fraction > UNOBSCURED_THRESHOLD)) { current_primary_view = view; highest_refresh_rate = refresh_rate; diff --git a/src/core/meta-context.c b/src/core/meta-context.c index 573f024fb..c80de6889 100644 --- a/src/core/meta-context.c +++ b/src/core/meta-context.c @@ -344,7 +344,7 @@ meta_context_real_configure (MetaContext *context, * @error: a return location for errors * * Returns: %TRUE if the commandline arguments (if any) were valid and if the - * configuration has been successfull, %FALSE otherwise + * configuration has been successful, %FALSE otherwise */ gboolean meta_context_configure (MetaContext *context, diff --git a/src/core/prefs.c b/src/core/prefs.c index f051c04d0..29b9055f7 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -1649,7 +1649,7 @@ meta_preference_to_string (MetaPreference pref) return "VISUAL_BELL_TYPE"; case META_PREF_GNOME_ACCESSIBILITY: - return "GNOME_ACCESSIBILTY"; + return "GNOME_ACCESSIBILITY"; case META_PREF_GNOME_ANIMATIONS: return "GNOME_ANIMATIONS"; diff --git a/src/tests/meta-ref-test.c b/src/tests/meta-ref-test.c index 4861f3b95..f1874b1ae 100644 --- a/src/tests/meta-ref-test.c +++ b/src/tests/meta-ref-test.c @@ -50,7 +50,7 @@ * To update or initialize reference images for tests, set the * MUTTER_REF_TEST_UPDATE environment variable. * - * The MUTTER_REF_TEST_UPDATE is interpreted as a comma seperated list of + * The MUTTER_REF_TEST_UPDATE is interpreted as a comma separated list of * regular expressions. If the test path matches any of the regular * expressions, the test reference image will be updated, unless the * existing reference image is pixel identical to the newly created one. diff --git a/src/tests/wayland-test-clients/subsurface-parent-unmapped.c b/src/tests/wayland-test-clients/subsurface-parent-unmapped.c index 8dcf040b4..7fc83b07d 100644 --- a/src/tests/wayland-test-clients/subsurface-parent-unmapped.c +++ b/src/tests/wayland-test-clients/subsurface-parent-unmapped.c @@ -244,7 +244,7 @@ on_sync_event (WaylandDisplay *display, { g_assert (serial == 0); - /* Sync event 0 is sent when the popup window actor is destryed; + /* Sync event 0 is sent when the popup window actor is destroyed; * prepare for opening a popup for the same wl_surface. */ wl_surface_attach (popup_surface, NULL, 0, 0); diff --git a/src/wayland/meta-wayland-keyboard.c b/src/wayland/meta-wayland-keyboard.c index e69b05c71..43b37bbd3 100644 --- a/src/wayland/meta-wayland-keyboard.c +++ b/src/wayland/meta-wayland-keyboard.c @@ -795,7 +795,7 @@ meta_wayland_keyboard_set_focus (MetaWaylandKeyboard *keyboard, &keyboard->resource_list, wl_resource_get_client (focus_surface_resource)); - /* Make sure a11y masks are applied before braodcasting modifiers */ + /* Make sure a11y masks are applied before broadcasting modifiers */ kbd_a11y_apply_mask (keyboard); if (!wl_list_empty (&keyboard->focus_resource_list)) diff --git a/src/x11/session.c b/src/x11/session.c index 83ec3a94e..c40a77d9e 100644 --- a/src/x11/session.c +++ b/src/x11/session.c @@ -550,7 +550,7 @@ save_yourself_callback (SmcConn smc_conn, /* ignore Global style saves * - * This interpretaion of the Local/Global/Both styles + * This interpretation of the Local/Global/Both styles * was discussed extensively on the xdg-list. See: * * https://listman.redhat.com/pipermail/xdg-list/2002-July/000615.html diff --git a/src/x11/window-props.c b/src/x11/window-props.c index fc9b4e3fd..715bc10c9 100644 --- a/src/x11/window-props.c +++ b/src/x11/window-props.c @@ -6,7 +6,7 @@ * A system which can inspect sets of properties of given windows * and take appropriate action given their values. * - * Note that all the meta_window_reload_propert* functions require a + * Note that all the meta_window_reload_property* functions require a * round trip to the server. * * The guts of this system are in meta_display_init_window_prop_hooks(). @@ -1894,7 +1894,7 @@ RELOAD_STRING (gtk_menubar_object_path, "gtk-menubar-object-path") /** * meta_x11_display_init_window_prop_hooks: - * @x11_display: The #MetaDX11isplay + * @x11_display: The #MetaX11Display * * Initialises the property hooks system. Each row in the table named "hooks" * represents an action to take when a property is found on a newly-created diff --git a/src/x11/window-props.h b/src/x11/window-props.h index d11b60a32..a7067d6a2 100644 --- a/src/x11/window-props.h +++ b/src/x11/window-props.h @@ -6,7 +6,7 @@ * A system which can inspect sets of properties of given windows * and take appropriate action given their values. * - * Note that all the meta_window_reload_propert* functions require a + * Note that all the meta_window_reload_property* functions require a * round trip to the server. */ @@ -61,7 +61,7 @@ void meta_window_load_initial_properties (MetaWindow *window); * meta_x11_display_init_window_prop_hooks: * @x11_display: The X11 display. * - * Initialises the hooks used for the reload_propert* functions + * Initialises the hooks used for the reload_property* functions * on a particular display, and stores a pointer to them in the * x11_display. */ @@ -70,7 +70,7 @@ void meta_x11_display_init_window_prop_hooks (MetaX11Display *x11_display); /** * meta_x11_display_free_window_prop_hooks: * @x11_display: The X11 display. - * Frees the hooks used for the reload_propert* functions + * Frees the hooks used for the reload_property* functions * for a particular display. */ void meta_x11_display_free_window_prop_hooks (MetaX11Display *x11_display);