diff options
153 files changed, 253 insertions, 253 deletions
diff --git a/demos/gtk-demo/gtkgears.c b/demos/gtk-demo/gtkgears.c index 7cd24a3899..b56975f2eb 100644 --- a/demos/gtk-demo/gtkgears.c +++ b/demos/gtk-demo/gtkgears.c @@ -305,7 +305,7 @@ create_gear (GLfloat inner_radius, /* Create the 7 points (only x,y coords) used to draw a tooth */ struct point p[7]; - /* Calculate needed sin/cos for varius angles */ + /* Calculate needed sin/cos for various angles */ sincos(i * 2.0 * G_PI / teeth + da * 0, &s[0], &c[0]); sincos(i * 2.0 * M_PI / teeth + da * 1, &s[1], &c[1]); sincos(i * 2.0 * M_PI / teeth + da * 2, &s[2], &c[2]); @@ -800,7 +800,7 @@ gtk_gears_realize (GtkWidget *widget) priv->LightSourcePosition_location = glGetUniformLocation(program, "LightSourcePosition"); priv->MaterialColor_location = glGetUniformLocation(program, "MaterialColor"); - /* Set the LightSourcePosition uniform which is constant throught the program */ + /* Set the LightSourcePosition uniform which is constant throughout the program */ glUniform4fv(priv->LightSourcePosition_location, 1, priv->LightSourcePosition); /* make the gears */ diff --git a/demos/gtk-demo/iconscroll.c b/demos/gtk-demo/iconscroll.c index f7cdc13b6a..a3e0f4dd99 100644 --- a/demos/gtk-demo/iconscroll.c +++ b/demos/gtk-demo/iconscroll.c @@ -78,7 +78,7 @@ static gsize content_len; extern void fontify (const char *format, GtkTextBuffer *buffer); static void -populate_text (gboolean hilight) +populate_text (gboolean highlight) { GtkWidget *textview; GtkTextBuffer *buffer; @@ -94,7 +94,7 @@ populate_text (gboolean hilight) buffer = gtk_text_buffer_new (NULL); gtk_text_buffer_set_text (buffer, content, (int)content_len); - if (hilight) + if (highlight) fontify ("c", buffer); textview = gtk_text_view_new (); diff --git a/demos/gtk-demo/list_store.c b/demos/gtk-demo/list_store.c index 42f88bd9e8..1ca6bff2d1 100644 --- a/demos/gtk-demo/list_store.c +++ b/demos/gtk-demo/list_store.c @@ -47,7 +47,7 @@ static Bug bugs[] = { FALSE, 56925, "Normal", "Gtkcalender size" }, { FALSE, 56221, "Normal", "Selectable label needs right-click copy menu" }, { TRUE, 50939, "Normal", "Add shift clicking to GtkTextView" }, - { FALSE, 6112, "Enhancement","netscape-like collapsable toolbars" }, + { FALSE, 6112, "Enhancement","netscape-like collapsible toolbars" }, { FALSE, 1, "Normal", "First bug :=)" }, }; diff --git a/demos/gtk-demo/listview_clocks.c b/demos/gtk-demo/listview_clocks.c index 11772898b8..e32c80fdf1 100644 --- a/demos/gtk-demo/listview_clocks.c +++ b/demos/gtk-demo/listview_clocks.c @@ -101,7 +101,7 @@ gtk_clock_snapshot (GdkPaintable *paintable, (GdkRGBA [4]) { BLACK, BLACK, BLACK, BLACK }); /* Next, draw the hour hand. - * We do this using tranforms again: Instead of computing where the angle + * We do this using transforms again: Instead of computing where the angle * points to, we just rotate everything and then draw the hand as if it * was :00. We don't even need to care about am/pm here because rotations * just work. diff --git a/demos/gtk-demo/listview_colors.c b/demos/gtk-demo/listview_colors.c index d9e8d0c4b8..569431c54d 100644 --- a/demos/gtk-demo/listview_colors.c +++ b/demos/gtk-demo/listview_colors.c @@ -79,7 +79,7 @@ gtk_color_paintable_init (GdkPaintableInterface *iface) /* * Finally, we define the type. The important part is adding the paintable - * interface, so GTK knows that this object can indeed be drawm. + * interface, so GTK knows that this object can indeed be drawn. */ G_DEFINE_TYPE_WITH_CODE (GtkColor, gtk_color, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE (GDK_TYPE_PAINTABLE, diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c index 3da97c54d8..bfa316347e 100644 --- a/demos/gtk-demo/main.c +++ b/demos/gtk-demo/main.c @@ -678,7 +678,7 @@ filter_demo (GtkDemo *demo) { int i; - /* Show only if the name maches every needle */ + /* Show only if the name matches every needle */ for (i = 0; search_needle[i]; i++) { if (!demo->title) diff --git a/demos/gtk-demo/overlay.c b/demos/gtk-demo/overlay.c index 425caf1469..e56d6fe36e 100644 --- a/demos/gtk-demo/overlay.c +++ b/demos/gtk-demo/overlay.c @@ -2,7 +2,7 @@ * * Shows widgets in static positions over a main widget. * - * The overlayed widgets can be interactive controls such + * The overlaid widgets can be interactive controls such * as the entry in this example, or just decorative, like * the big blue label. */ diff --git a/demos/gtk-demo/peg_solitaire.c b/demos/gtk-demo/peg_solitaire.c index 43ed92f331..70681c1f57 100644 --- a/demos/gtk-demo/peg_solitaire.c +++ b/demos/gtk-demo/peg_solitaire.c @@ -256,7 +256,7 @@ drag_begin (GtkDragSource *source, gtk_image_clear (GTK_IMAGE (image)); } -/* Thie is called once a drag operation has ended (successfully or not). +/* This is called once a drag operation has ended (successfully or not). * We want to undo what we did in drag_begin() above and react * to a potential move of the peg. */ diff --git a/demos/icon-browser/icon.list b/demos/icon-browser/icon.list index 49cf32a2e7..74477defd9 100644 --- a/demos/icon-browser/icon.list +++ b/demos/icon-browser/icon.list @@ -38,7 +38,7 @@ network-transmit-receive=The icon used data is being both transmitted and receiv network-transmit=The icon used when data is being transmitted, while the computing device is connected to a network network-receive=The icon used when data is being received, while the computing device is connected to a network network-idle=The icon used when no data is being transmitted or received, while the computing device is connected to a network -network-error=The icon used when an error occurs trying to intialize the network connection of the computing device +network-error=The icon used when an error occurs trying to initialize the network connection of the computing device network-offline=The icon used when the computing device is disconnected from the network [weather] @@ -112,7 +112,7 @@ document-edit=The icon for the action to edit a document object-flip-horizontal=The icon for the action to flip an object horizontally object-flip-vertical=The icon for the action to flip an object vertically object-rotate-left=The icon for the rotate left action performed on an object -object-rotate-right=The icon for the rotate rigt action performed on an object +object-rotate-right=The icon for the rotate right action performed on an object insert-image=The icon for the insert image action of an application insert-link=The icon for the insert link action of an application insert-object=The icon for the insert object action of an application @@ -406,7 +406,7 @@ media-zip= modem=The icon used for modem devices multimedia-player-apple-ipod-touch= network-vpn= -pda=This is the fallback icon for Personal Digial Assistant devices. Primary use of this icon is for PDA devices connected to the PC. Connection medium is not an important aspect of the icon. The metaphor for this fallback icon should be a generic PDA device icon +pda=This is the fallback icon for Personal Digital Assistant devices. Primary use of this icon is for PDA devices connected to the PC. Connection medium is not an important aspect of the icon. The metaphor for this fallback icon should be a generic PDA device icon phone-apple-iphone= uninterruptible-power-supply= emblem-default=The icon used as an emblem to specify the default selection of a printer for example diff --git a/docs/CODING-STYLE.md b/docs/CODING-STYLE.md index 8c0368e1f0..11d105edd9 100644 --- a/docs/CODING-STYLE.md +++ b/docs/CODING-STYLE.md @@ -5,7 +5,7 @@ This document is intended to be a short description of the preferred coding style to be used for the GTK source code. It was strongly inspired by Clutter's `CODING_STYLE`. -Coding style is a matter of consistency, readability and maintainance; +Coding style is a matter of consistency, readability and maintenance; coding style is also completely arbitrary and a matter of taste. This document will use examples at the very least to provide authoritative and consistent answers to common questions regarding the coding style, diff --git a/docs/reference/gtk/actions.md b/docs/reference/gtk/actions.md index d2823370b0..61433ccc19 100644 --- a/docs/reference/gtk/actions.md +++ b/docs/reference/gtk/actions.md @@ -101,7 +101,7 @@ allow use of detailed action names. This is a convenient way of specifying an action name and an action target with a single string. In the case that the action target is a string with no unusual characters -(ie: only alpha-numeric, plus '-' and '.') then you can use a detailed +(ie: only alphanumeric, plus '-' and '.') then you can use a detailed action name of the form "justify::left" to specify the justify action with a target of left. diff --git a/docs/reference/gtk/css-overview.md b/docs/reference/gtk/css-overview.md index 9c1fad71eb..0070c7e4f3 100644 --- a/docs/reference/gtk/css-overview.md +++ b/docs/reference/gtk/css-overview.md @@ -18,7 +18,7 @@ name, a state and possibly style classes. The children of each node are linearly ordered. Every widget has one or more of these CSS nodes, and determines their -name, state, style classes and how they are layed out as children and +name, state, style classes and how they are laid out as children and siblings in the overall node tree. The documentation for each widget explains what CSS nodes it has. diff --git a/docs/reference/gtk/getting_started.md b/docs/reference/gtk/getting_started.md index f9a97d3814..be40e5b05d 100644 --- a/docs/reference/gtk/getting_started.md +++ b/docs/reference/gtk/getting_started.md @@ -75,7 +75,7 @@ functions, types and macros required by GTK applications. Even if GTK installs multiple header files, only the top-level `gtk/gtk.h` header can be directly included by third-party code. The compiler will abort -with an error if any othe header is directly included. +with an error if any other header is directly included. In a GTK application, the purpose of the main() function is to create a GtkApplication object and run it. In this example a GtkApplication pointer @@ -205,7 +205,7 @@ variable is created to store a GtkBox, which is GTK's way of controlling the size and layout of buttons. The GtkBox is created with gtk_box_new() which takes a GtkOrientation -enum as parameter. The buttons which this box will contain can either be layed +enum as parameter. The buttons which this box will contain can either be laid out horizontally or vertically. This does not matter in this particular case, as we are dealing with only one button. After initializing box with the newly created GtkBox, the code adds the box widget to the window widget using diff --git a/docs/reference/gtk/gtk4-update-icon-cache.xml b/docs/reference/gtk/gtk4-update-icon-cache.xml index 3b6a18ffc6..1537963882 100644 --- a/docs/reference/gtk/gtk4-update-icon-cache.xml +++ b/docs/reference/gtk/gtk4-update-icon-cache.xml @@ -70,7 +70,7 @@ <term>--force</term> <term>-f</term> <listitem><para>Overwrite an existing cache file even if it appears to be - uptodate.</para></listitem> + up-to-date.</para></listitem> </varlistentry> <varlistentry> diff --git a/docs/reference/gtk/input-handling.md b/docs/reference/gtk/input-handling.md index 35376f7cb7..e409a2dfd6 100644 --- a/docs/reference/gtk/input-handling.md +++ b/docs/reference/gtk/input-handling.md @@ -128,7 +128,7 @@ Mnmemonics They are used in places where a label is associated with a control, and are indicated by underlining the letter in the label. As a special case, inside menus (i.e. inside #GtkPopoverMenu), mnemonics can be - trigered without the modifier. + triggered without the modifier. Key bindings : Key bindings are specific to individual widgets, such as Ctrl-C or Ctrl-V in an entry copy to or paste from the clipboard. They are only diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md index f74f80f92a..665d5bcd8f 100644 --- a/docs/reference/gtk/migrating-3to4.md +++ b/docs/reference/gtk/migrating-3to4.md @@ -533,7 +533,7 @@ adding children with <child> in ui files. The abstract base class GtkContainer for general containers has been removed. The former subclasses are now derived directly from GtkWidget, and have class-specific add() and remove() functions. -The most noticable change is the use of gtk_box_append() or gtk_box_prepend() +The most noticeable change is the use of gtk_box_append() or gtk_box_prepend() instead of gtk_container_add() for adding children to GtkBox, and the change to use container-specific remove functions, such as gtk_stack_remove() instead of gtk_container_remove(). Adding a child in a ui file with <child> still works. @@ -671,7 +671,7 @@ gradients, just use those. GTK now supports a more versatile -gtk-icon-filter instead. Replace -gtk-icon-effect: dim; with -gtk-icon-filter: opacity(0.5); and --gtk-icon-effect: hilight; with -gtk-icon-filter: brightness(1.2);. +-gtk-icon-effect: highlight; with -gtk-icon-filter: brightness(1.2);. ### Don't use -gtk-icon-theme in your CSS @@ -701,7 +701,7 @@ of connecting a handler to the #GtkWidget::draw signal. ### Stop using APIs to query GdkSurfaces A number of APIs for querying special-purpose windows have been removed, -since these windows are no longer publically available: +since these windows are no longer publicly available: gtk_tree_view_get_bin_window(), gtk_viewport_get_bin_window(), gtk_viewport_get_view_window(). diff --git a/docs/reference/gtk/question_index.md b/docs/reference/gtk/question_index.md index 6386e2f78f..ac7a174b19 100644 --- a/docs/reference/gtk/question_index.md +++ b/docs/reference/gtk/question_index.md @@ -445,7 +445,7 @@ the question you have, this list is a good place to start. gtk_list_store_set() and gtk_tree_store_set(), but can't read it back? Both the #GtkTreeStore and the #GtkListStore implement the #GtkTreeModel - interface. Consequentially, you can use any function this interface + interface. Consequently, you can use any function this interface implements. The easiest way to read a set of data back is to use gtk_tree_model_get(). diff --git a/docs/reference/gtk/section-accessibility.md b/docs/reference/gtk/section-accessibility.md index c3b965da82..4c0a429270 100644 --- a/docs/reference/gtk/section-accessibility.md +++ b/docs/reference/gtk/section-accessibility.md @@ -54,7 +54,7 @@ Each role name is part of the #GtkAccessibleRole enumeration. | `METER` | Represents a value within a known range | #GtkLevelBar | | `PROGRESS_BAR` | An element that display progress | #GtkProgressBar | | `RADIO` | A checkable input in a group of radio roles | #GtkRadioButton | -| `SCROLLBAR` | A graphical object controlling the scolling of content | #GtkScrollbar | +| `SCROLLBAR` | A graphical object controlling the scrolling of content | #GtkScrollbar | | `SEARCH_BOX` | A text box for entering search criteria | #GtkSearchEntry | | `SEPARATOR` | A divider that separates sections of content or groups of items | #GtkSeparator | | `SPIN_BUTTON` | A range control that allows seelcting among discrete choices | #GtkSpinButton | diff --git a/docs/reference/gtk/section-tree-widget.md b/docs/reference/gtk/section-tree-widget.md index fd6978a626..f30680be41 100644 --- a/docs/reference/gtk/section-tree-widget.md +++ b/docs/reference/gtk/section-tree-widget.md @@ -128,7 +128,7 @@ GtkWidget *tree; tree = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store)); ``` -## Colums and cell renderers +## Columns and cell renderers Once the #GtkTreeView widget has a model, it will need to know how to display the model. It does this with columns and cell renderers. diff --git a/gdk/broadway/TODO.broadway b/gdk/broadway/TODO.broadway index a8af758fe2..19fc6e87f6 100644 --- a/gdk/broadway/TODO.broadway +++ b/gdk/broadway/TODO.broadway @@ -1,11 +1,11 @@ -Cache surfaces that are opened via shm_open inbetween updates. +Cache surfaces that are opened via shm_open in between updates. Handle implicit grabs when in broadway-server.c keyboard focus handling Add resize handling to js WM Support window titles _gdk_broadway_server_has_client is always FALSE, so resize don't work Send reset events on client disconnect (button up, normal state. Maybe grab state reset?) -rgba suport +rgba support shift-select in gedit doesn't work backdrop mode clean up /dev/shm on abrupt client exit diff --git a/gdk/broadway/broadway-server.c b/gdk/broadway/broadway-server.c index 1256e1a1f6..48ee21bb47 100644 --- a/gdk/broadway/broadway-server.c +++ b/gdk/broadway/broadway-server.c @@ -709,7 +709,7 @@ parse_input_message (BroadwayInput *input, const unsigned char *message) } if (l == NULL) - g_warning ("Got unexpected rountrip reply for id %d, tag %d\n", msg.roundtrip_notify.id, msg.roundtrip_notify.tag); + g_warning ("Got unexpected roundtrip reply for id %d, tag %d\n", msg.roundtrip_notify.id, msg.roundtrip_notify.tag); else { BroadwayOutstandingRoundtrip *rt = l->data; diff --git a/gdk/broadway/broadwayd.c b/gdk/broadway/broadwayd.c index a7a759c2ad..9cfa48f138 100644 --- a/gdk/broadway/broadwayd.c +++ b/gdk/broadway/broadwayd.c @@ -38,7 +38,7 @@ static guint32 client_id_count = 1; * between its serials and daemon serials for any outstanding requests. * * There is some additional complexity in that there may be multiple consecutive web browser - * sessions, so we need to keep track of the last daemon serial used inbetween each web client + * sessions, so we need to keep track of the last daemon serial used in between each web client * connection so that the daemon serials can be strictly increasing. */ diff --git a/gdk/broadway/gdkbroadway-server.c b/gdk/broadway/gdkbroadway-server.c index 2807e6d46a..1aeb1649e9 100644 --- a/gdk/broadway/gdkbroadway-server.c +++ b/gdk/broadway/gdkbroadway-server.c @@ -48,7 +48,7 @@ struct _GdkBroadwayServer { guint8 recv_buffer[1024]; guint process_input_idle; - GList *incomming; + GList *incoming; }; struct _GdkBroadwayServerClass @@ -248,7 +248,7 @@ parse_all_input (GdkBroadwayServer *server) reply = g_memdup (p, size); p += size; - server->incomming = g_list_append (server->incomming, reply); + server->incoming = g_list_append (server->incoming, reply); } if (p < end) @@ -314,7 +314,7 @@ find_response_by_serial (GdkBroadwayServer *server, guint32 serial) { GList *l; - for (l = server->incomming; l != NULL; l = l->next) + for (l = server->incoming; l != NULL; l = l->next) { BroadwayReply *reply = l->data; @@ -336,12 +336,12 @@ process_input_messages (GdkBroadwayServer *server) server->process_input_idle = 0; } - while (server->incomming) + while (server->incoming) { - reply = server->incomming->data; - server->incomming = - g_list_delete_link (server->incomming, - server->incomming); + reply = server->incoming->data; + server->incoming = + g_list_delete_link (server->incoming, + server->incoming); if (reply->base.type == BROADWAY_REPLY_EVENT) _gdk_broadway_events_got_input (server->display, &reply->event.msg); @@ -391,7 +391,7 @@ gdk_broadway_server_wait_for_reply (GdkBroadwayServer *server, reply = find_response_by_serial (server, serial); if (reply) { - server->incomming = g_list_remove (server->incomming, reply); + server->incoming = g_list_remove (server->incoming, reply); break; } diff --git a/gdk/broadway/gdksurface-broadway.c b/gdk/broadway/gdksurface-broadway.c index 7f5f9a79e4..0f3240f833 100644 --- a/gdk/broadway/gdksurface-broadway.c +++ b/gdk/broadway/gdksurface-broadway.c @@ -127,7 +127,7 @@ _gdk_broadway_roundtrip_notify (GdkSurface *surface, if (timings) { timings->refresh_interval = 33333; /* default to 1/30th of a second */ - // This isn't quite right, since we've done a rountrip back too, can we do better? + // This isn't quite right, since we've done a roundtrip back too, can we do better? timings->presentation_time = g_get_monotonic_time (); timings->complete = TRUE; diff --git a/gdk/gdkcairocontext.c b/gdk/gdkcairocontext.c index d89271f545..cad9de9833 100644 --- a/gdk/gdkcairocontext.c +++ b/gdk/gdkcairocontext.c @@ -79,7 +79,7 @@ gdk_cairo_context_init (GdkCairoContext *self) * * Returns: (transfer full) (nullable): a Cairo context to be used * to draw the contents of the #GdkSurface. %NULL is returned - * when @contet is not drawing. + * when @context is not drawing. */ cairo_t * gdk_cairo_context_cairo_create (GdkCairoContext *self) diff --git a/gdk/gdkcontentproviderimpl.c b/gdk/gdkcontentproviderimpl.c index 7ec0cc0ca5..aeeca742ba 100644 --- a/gdk/gdkcontentproviderimpl.c +++ b/gdk/gdkcontentproviderimpl.c @@ -402,7 +402,7 @@ gdk_content_provider_union_init (GdkContentProviderUnion *self) * be chosen to provide it. * * This allows an easy way to support providing data in different formats. - * For example, an image may be provided by its file and by the iamge + * For example, an image may be provided by its file and by the image * contents with a call such as * |[<!-- language="C" --> * gdk_content_provider_new_union ((GdkContentProvider *[2]) { diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index d4944cdc58..5551af342e 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -1273,7 +1273,7 @@ gdk_display_set_debug_flags (GdkDisplay *display, * * Returns whether surfaces can reasonably be expected to have * their alpha channel drawn correctly on the screen. Check - * gdk_display_is_rgba() for wether the display supports an + * gdk_display_is_rgba() for whether the display supports an * alpha channel. * * On X11 this function returns whether a compositing manager is @@ -1310,7 +1310,7 @@ gdk_display_set_composited (GdkDisplay *display, * gdk_display_is_rgba: * @display: a #GdkDisplay * - * Returns wether surfaces on this @display are created with an + * Returns whether surfaces on this @display are created with an * alpha channel. * * Even if a %TRUE is returned, it is possible that the diff --git a/gdk/gdkdrawcontext.c b/gdk/gdkdrawcontext.c index 75d7e61546..0b35f89f3f 100644 --- a/gdk/gdkdrawcontext.c +++ b/gdk/gdkdrawcontext.c @@ -312,7 +312,7 @@ gdk_draw_context_begin_frame (GdkDrawContext *context, else { g_critical ("The surface %p is already being drawn by %s %p. " - "You cannot draw s surface wih multiple contexts at the same time.", + "You cannot draw a surface with multiple contexts at the same time.", priv->surface, G_OBJECT_TYPE_NAME (priv->surface->paint_context), priv->surface->paint_context); } @@ -404,7 +404,7 @@ gdk_draw_context_end_frame (GdkDrawContext *context) * a union of the region passed to that function and the area of the surface * that the @context determined needs to be repainted. * - * If @context is not inbetween calls to gdk_draw_context_begin_frame() and + * If @context is not in between calls to gdk_draw_context_begin_frame() and * gdk_draw_context_end_frame(), %NULL will be returned. * * Returns: (transfer none) (nullable): a Cairo region or %NULL if not drawing diff --git a/gdk/gdkframeclockidle.c b/gdk/gdkframeclockidle.c index fe2de4667e..d2bb77b8d2 100644 --- a/gdk/gdkframeclockidle.c +++ b/gdk/gdkframeclockidle.c @@ -648,7 +648,7 @@ gdk_frame_clock_paint_idle (void *data) * Once we do receive "frame drawn" events, smooth_cycle_start will track the vsync, and do so in a more stable * way compared to frame_time. If we then no longer receive "frame drawn" events, smooth_cycle_start will again be * simply advanced in increments of the refresh interval, but this time we are in sync with the vsync. If we start - * receiving "frame drawn" events shortly after loosing them, then we should still be in sync. + * receiving "frame drawn" events shortly after losing them, then we should still be in sync. */ gint64 smooth_cycle_start = priv->smoothed_frame_time_base - priv->smoothed_frame_time_phase; priv->min_next_frame_time = smooth_cycle_start + priv->smoothed_frame_time_period; diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c index 4dc06cc24c..2843ef05f5 100644 --- a/gdk/gdkglcontext.c +++ b/gdk/gdkglcontext.c @@ -565,7 +565,7 @@ gdk_gl_context_get_debug_enabled (GdkGLContext *context) * * Sets whether the #GdkGLContext should be forward compatible. * - * Forward compatibile contexts must not support OpenGL functionality that + * Forward compatible contexts must not support OpenGL functionality that * has been marked as deprecated in the requested version; non-forward * compatible contexts, on the other hand, must support both deprecated and * non deprecated functionality. diff --git a/gdk/gdkpaintable.c b/gdk/gdkpaintable.c index 1397bbe707..6d1f176b4d 100644 --- a/gdk/gdkpaintable.c +++ b/gdk/gdkpaintable.c @@ -54,7 +54,7 @@ void gtk_snapshot_pop (GdkSnapshot * always produce the same output for the same snapshot. * * A #GdkPaintable may change its contents, meaning that it will now produce a - * different output with the same snpashot. Once that happens, it will call + * different output with the same snapshot. Once that happens, it will call * gdk_paintable_invalidate_contents() which will emit the * #GdkPaintable::invalidate-contents signal. If a paintable is known to never * change its contents, it will set the %GDK_PAINTABLE_STATIC_CONTENTS flag. diff --git a/gdk/gdktoplevelsize.c b/gdk/gdktoplevelsize.c index 187939ba55..e5802782d4 100644 --- a/gdk/gdktoplevelsize.c +++ b/gdk/gdktoplevelsize.c @@ -58,7 +58,7 @@ gdk_toplevel_size_init (GdkToplevelSize *size, * Retrieves the bounds the toplevel is placed within. * * The bounds represent the largest size a toplevel may have while still being - * able to fit within some type of boundery. Depending on the backend, this may + * able to fit within some type of boundary. Depending on the backend, this may * be equivalent to the dimensions of the work area or the monitor on which the * window is being presented on, or something else that limits the way a * toplevel can be presented. diff --git a/gdk/macos/GdkMacosWindow.c b/gdk/macos/GdkMacosWindow.c index fba5d9b094..a80f8a517d 100644 --- a/gdk/macos/GdkMacosWindow.c +++ b/gdk/macos/GdkMacosWindow.c @@ -385,7 +385,7 @@ window_gdk.width += shadow_left + shadow_right; window_gdk.height += shadow_top + shadow_bottom; - /* Convert to quartz coordiantes */ + /* Convert to quartz coordinates */ _gdk_macos_display_to_display_coords ([self gdkDisplay], window_gdk.x, window_gdk.y + window_gdk.height, diff --git a/gdk/macos/gdkmacoseventsource.c b/gdk/macos/gdkmacoseventsource.c index b4ad1fe471..5d42077cdb 100644 --- a/gdk/macos/gdkmacoseventsource.c +++ b/gdk/macos/gdkmacoseventsource.c @@ -118,7 +118,7 @@ static GPollFD event_poll_fd; /* Current NSEvents that we've gotten from Cocoa but haven't yet converted * to GdkEvents. We wait until our dispatch() function to do the conversion - * since the conversion can conceivably cause signals to be emmitted + * since the conversion can conceivably cause signals to be emitted * or other things that shouldn’t happen inside a poll function. */ static GQueue *current_events; @@ -146,7 +146,7 @@ static NSAutoreleasePool *autorelease_pool; /* Flag when we've called nextEventMatchingMask ourself; this triggers * a run loop iteration, so we need to detect that and avoid triggering - * our "run the GLib main looop while the run loop is active machinery. + * our "run the GLib main loop while the run loop is active machinery. */ static int getting_events = 0; diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index 0d773cf272..4436269217 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -699,7 +699,7 @@ gdk_wayland_device_grab (GdkDevice *device, gdk_surface_get_mapped (surface)) { g_warning ("Surface %p is already mapped at the time of grabbing. " - "gdk_seat_grab() should be used to simultanously grab input " + "gdk_seat_grab() should be used to simultaneously grab input " "and show this popup. You may find oddities ahead.", surface); } @@ -1913,7 +1913,7 @@ keyboard_handle_leave (void *data, /* gdk_surface_is_destroyed() might already return TRUE for * seat->keyboard_focus here, which would happen if we destroyed the - * surface before loosing keyboard focus. + * surface before losing keyboard focus. */ stop_key_repeat (seat); diff --git a/gdk/wayland/gdkprivate-wayland.h b/gdk/wayland/gdkprivate-wayland.h index 98b4af7a1c..dc7c4848a2 100644 --- a/gdk/wayland/gdkprivate-wayland.h +++ b/gdk/wayland/gdkprivate-wayland.h @@ -137,7 +137,7 @@ GdkKeymap *_gdk_wayland_device_get_keymap (GdkDevice *device); uint32_t _gdk_wayland_seat_get_implicit_grab_serial(GdkSeat *seat, GdkEvent *event); uint32_t _gdk_wayland_seat_get_last_implicit_grab_serial (GdkWaylandSeat *seat, - GdkEventSequence **seqence); + GdkEventSequence **sequence); struct wl_data_device * gdk_wayland_device_get_data_device (GdkDevice *gdk_device); void gdk_wayland_device_set_selection (GdkDevice *gdk_device, struct wl_data_source *source); diff --git a/gdk/win32/cursor.bdf b/gdk/win32/cursor.bdf index 4db5e1226e..74594f836d 100644 --- a/gdk/win32/cursor.bdf +++ b/gdk/win32/cursor.bdf @@ -1,7 +1,7 @@ STARTFONT 2.1 COMMENT COMMENT downloaded from http://webcvs.freedesktop.org/xorg/font/cursor-misc/cursor.bdf?revision=1.1 -COMMENT slighly edited by tml to correct a few gdk cursors on win32 +COMMENT slightly edited by tml to correct a few gdk cursors on win32 COMMENT COMMENT Created by bitmaptobdf FONT cursor diff --git a/gdk/win32/gdkclipdrop-win32.h b/gdk/win32/gdkclipdrop-win32.h index 6d37e9e367..714f83fe66 100644 --- a/gdk/win32/gdkclipdrop-win32.h +++ b/gdk/win32/gdkclipdrop-win32.h @@ -179,7 +179,7 @@ struct _GdkWin32Clipdrop */ GAsyncQueue *clipboard_render_queue; - /* Window handle for the clipboard window tha we + /* Window handle for the clipboard window that we * receive from the clipboard thread. We use that * to wake up the clipboard window main loop by * posting a message to it. diff --git a/gdk/win32/gdkcursor-win32.c b/gdk/win32/gdkcursor-win32.c index a7a6464d75..6b0723bd86 100644 --- a/gdk/win32/gdkcursor-win32.c +++ b/gdk/win32/gdkcursor-win32.c @@ -1370,7 +1370,7 @@ pixbuf_to_hbitmaps_normal (GdkPixbuf *pixbuf, return FALSE; } - /* rows are always aligned on 4-byte boundarys */ + /* rows are always aligned on 4-byte boundaries */ bmstride = size * 3; if (bmstride % 4 != 0) bmstride += 4 - (bmstride % 4); diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c index 0d4f4f97f8..9dff5c4240 100644 --- a/gdk/win32/gdkdisplay-win32.c +++ b/gdk/win32/gdkdisplay-win32.c @@ -1098,7 +1098,7 @@ _gdk_win32_display_get_monitor_scale_factor (GdkWin32Display *win32_display, } else { - /* Go back to GetDeviceCaps() for Windows 8 and earler, or when we don't + /* Go back to GetDeviceCaps() for Windows 8 and earlier, or when we don't * have a HMONITOR nor a HWND */ HDC hdc = GetDC (hwnd); diff --git a/gdk/win32/gdkdrag-win32.c b/gdk/win32/gdkdrag-win32.c index 73b0933077..53a949b851 100644 --- a/gdk/win32/gdkdrag-win32.c +++ b/gdk/win32/gdkdrag-win32.c @@ -156,7 +156,7 @@ * drag window) in response to this, as all the functions * that GDK could perform here are already handled by the * OS driving the DnD process via DoDragDrop() call. - * The LOCAL protocol, on the other hande, does a lot, + * The LOCAL protocol, on the other hand, does a lot, * similar to what X11 backend does with XDND - it sends * GDK_DRAG_LEAVE and GDK_DRAG_ENTER, emits GDK_DRAG_MOTION. * @@ -831,7 +831,7 @@ gdk_drag_new (GdkDisplay *display, static enum_formats *enum_formats_new (GArray *formats); /* Finds a GdkDrag object that corresponds to a DnD operation - * which is currently targetting the dest_window + * which is currently targeting the dest_window * Does not give a reference. */ GdkDrag * @@ -1826,7 +1826,7 @@ find_window_enum_proc (HWND hwnd, return TRUE; } -/* Finds the HWND under cursor. Local DnD protcol +/* Finds the HWND under cursor. Local DnD protocol * uses this function, since local protocol is implemented * entirely in GDK and cannot rely on the OS to notify * drop targets about drags that move over them. diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index 31cb3b8270..da39f88b9a 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -3127,7 +3127,7 @@ gdk_event_translate (MSG *msg, if ((windowpos->flags & SWP_HIDEWINDOW) && !GDK_SURFACE_DESTROYED (window)) { - /* Make transient parent the forground window when window unmaps */ + /* Make transient parent the foreground window when window unmaps */ impl = GDK_WIN32_SURFACE (window); if (impl->transient_owner && diff --git a/gdk/win32/gdkwin32dnd-private.h b/gdk/win32/gdkwin32dnd-private.h index c19a7deead..8cb91823f6 100644 --- a/gdk/win32/gdkwin32dnd-private.h +++ b/gdk/win32/gdkwin32dnd-private.h @@ -29,7 +29,7 @@ G_BEGIN_DECLS typedef struct _GdkWin32DragUtilityData GdkWin32DragUtilityData; /* This structure is deliberately designed to be - * copyable with memcpy(), i.e. no pointers inside. + * copiable with memcpy(), i.e. no pointers inside. */ struct _GdkWin32DragUtilityData { diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c index 31ef5878c1..dc76c6544e 100644 --- a/gdk/x11/gdksurface-x11.c +++ b/gdk/x11/gdksurface-x11.c @@ -243,7 +243,7 @@ on_surface_changed (void *data) * window only when there actually is drawing. To do that we use * a technique (hack) suggested by Uli Schlachter - if we set * a dummy "mime data" on the cairo surface (this facility is - * used to attach JPEG data to an imager), then cairo wil flush + * used to attach JPEG data to an imager), then cairo will flush * and remove the mime data before making any changes to the window. */ diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c index eb503ecdd5..b5d6b8e127 100644 --- a/gsk/gl/gskglrenderer.c +++ b/gsk/gl/gskglrenderer.c @@ -2961,7 +2961,7 @@ gsk_gl_renderer_create_programs (GskGLRenderer *self, /* We initialize the alpha uniform here, since the default value is important. - * We can't do it in the shader like a resonable person would because that doesn't + * We can't do it in the shader like a reasonable person would because that doesn't * work in gles. */ for (i = 0; i < GL_N_PROGRAMS; i++) { @@ -3196,7 +3196,7 @@ gsk_gl_renderer_add_render_ops (GskGLRenderer *self, RenderOpBuilder *builder) { /* This can still happen, even if the render nodes are created using - * GtkSnapshot, so let's juse be safe. */ + * GtkSnapshot, so let's just be safe. */ if (node_is_invisible (node)) return; diff --git a/gsk/gl/stb_rect_pack.c b/gsk/gl/stb_rect_pack.c index 8305e860de..ff658466a1 100644 --- a/gsk/gl/stb_rect_pack.c +++ b/gsk/gl/stb_rect_pack.c @@ -120,7 +120,7 @@ static int stbrp__skyline_find_min_y(stbrp_context *c, stbrp_node *first, int x0 if (node->y > min_y) { // raise min_y higher. // we've accounted for all waste up to min_y, - // but we'll now add more waste for everything we've visted + // but we'll now add more waste for everything we've visited waste_area += visited_width * (node->y - min_y); min_y = node->y; // the first time through, visited_width might be reduced diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c index e8a1ad2a6e..5296853175 100644 --- a/gsk/gskrendernodeimpl.c +++ b/gsk/gskrendernodeimpl.c @@ -1112,7 +1112,7 @@ gsk_inset_shadow_node_draw (GskRenderNode *node, /* For the blurred case we divide the rendering into 9 parts, * 4 of the corners, 4 for the horizonat/vertical lines and * one for the interior. We make the non-interior parts - * large enought to fit the full radius of the blur, so that + * large enough to fit the full radius of the blur, so that * the interior part can be drawn solidly. */ @@ -1415,7 +1415,7 @@ gsk_outset_shadow_node_draw (GskRenderNode *node, /* For the blurred case we divide the rendering into 9 parts, * 4 of the corners, 4 for the horizonat/vertical lines and * one for the interior. We make the non-interior parts - * large enought to fit the full radius of the blur, so that + * large enough to fit the full radius of the blur, so that * the interior part can be drawn solidly. */ diff --git a/gsk/gsktransform.c b/gsk/gsktransform.c index a12c68e557..a1b65ff13f 100644 --- a/gsk/gsktransform.c +++ b/gsk/gsktransform.c @@ -1712,7 +1712,7 @@ gsk_transform_invert (GskTransform *self) * * Checks two transforms for equality. * - * Returns: %TRUE if the two transforms peform the same operation. + * Returns: %TRUE if the two transforms perform the same operation. **/ gboolean gsk_transform_equal (GskTransform *first, diff --git a/gtk/css/gtkcssparser.c b/gtk/css/gtkcssparser.c index a323260629..99e4944784 100644 --- a/gtk/css/gtkcssparser.c +++ b/gtk/css/gtkcssparser.c @@ -968,7 +968,7 @@ gtk_css_parser_parse_url_arg (GtkCssParser *parser, * * If the parser matches the <url> token from the [CSS * specification](https://drafts.csswg.org/css-values-4/#url-value), - * consumes it, resolves the URL and resturns the resulting #GFile. + * consumes it, resolves the URL and returns the resulting #GFile. * On failure, an error is emitted and %NULL is returned. * * Returns: (nullable) (transfer full): the resulting URL or %NULL on error diff --git a/gtk/emoji/emoji1.json b/gtk/emoji/emoji1.json index bdeceda8ae..2ecb36cecc 100644 --- a/gtk/emoji/emoji1.json +++ b/gtk/emoji/emoji1.json @@ -13068,7 +13068,7 @@ "aliases_ascii" : [ ], "keywords" : [ - "accomodation", + "accommodation", "building", "checkin", "motel", @@ -21958,7 +21958,7 @@ "clock1" : { "unicode" : "1f550", "unicode_alternates" : "", - "name" : "clock face one oclock", + "name" : "clock face one o'clock", "shortname" : ":clock1:", "category" : "symbols", "emoji_order" : "1013", @@ -21978,7 +21978,7 @@ "clock2" : { "unicode" : "1f551", "unicode_alternates" : "", - "name" : "clock face two oclock", + "name" : "clock face two o'clock", "shortname" : ":clock2:", "category" : "symbols", "emoji_order" : "1014", @@ -21998,7 +21998,7 @@ "clock3" : { "unicode" : "1f552", "unicode_alternates" : "", - "name" : "clock face three oclock", + "name" : "clock face three o'clock", "shortname" : ":clock3:", "category" : "symbols", "emoji_order" : "1015", @@ -22018,7 +22018,7 @@ "clock4" : { "unicode" : "1f553", "unicode_alternates" : "", - "name" : "clock face four oclock", + "name" : "clock face four o'clock", "shortname" : ":clock4:", "category" : "symbols", "emoji_order" : "1016", @@ -22038,7 +22038,7 @@ "clock5" : { "unicode" : "1f554", "unicode_alternates" : "", - "name" : "clock face five oclock", + "name" : "clock face five o'clock", "shortname" : ":clock5:", "category" : "symbols", "emoji_order" : "1017", @@ -22058,7 +22058,7 @@ "clock6" : { "unicode" : "1f555", "unicode_alternates" : "", - "name" : "clock face six oclock", + "name" : "clock face six o'clock", "shortname" : ":clock6:", "category" : "symbols", "emoji_order" : "1018", @@ -22078,7 +22078,7 @@ "clock7" : { "unicode" : "1f556", "unicode_alternates" : "", - "name" : "clock face seven oclock", + "name" : "clock face seven o'clock", "shortname" : ":clock7:", "category" : "symbols", "emoji_order" : "1019", @@ -22098,7 +22098,7 @@ "clock8" : { "unicode" : "1f557", "unicode_alternates" : "", - "name" : "clock face eight oclock", + "name" : "clock face eight o'clock", "shortname" : ":clock8:", "category" : "symbols", "emoji_order" : "1020", @@ -22118,7 +22118,7 @@ "clock9" : { "unicode" : "1f558", "unicode_alternates" : "", - "name" : "clock face nine oclock", + "name" : "clock face nine o'clock", "shortname" : ":clock9:", "category" : "symbols", "emoji_order" : "1021", @@ -22138,7 +22138,7 @@ "clock10" : { "unicode" : "1f559", "unicode_alternates" : "", - "name" : "clock face ten oclock", + "name" : "clock face ten o'clock", "shortname" : ":clock10:", "category" : "symbols", "emoji_order" : "1022", @@ -22158,7 +22158,7 @@ "clock11" : { "unicode" : "1f55a", "unicode_alternates" : "", - "name" : "clock face eleven oclock", + "name" : "clock face eleven o'clock", "shortname" : ":clock11:", "category" : "symbols", "emoji_order" : "1023", @@ -22178,7 +22178,7 @@ "clock12" : { "unicode" : "1f55b", "unicode_alternates" : "", - "name" : "clock face twelve oclock", + "name" : "clock face twelve o'clock", "shortname" : ":clock12:", "category" : "symbols", "emoji_order" : "1024", diff --git a/gtk/gtkaccessibleattributeset.c b/gtk/gtkaccessibleattributeset.c index 0a24a7f16d..abdc0950ed 100644 --- a/gtk/gtkaccessibleattributeset.c +++ b/gtk/gtkaccessibleattributeset.c @@ -1,4 +1,4 @@ -/* gtkaccessibleattributeset.c: Accessible attribute containt +/* gtkaccessibleattributeset.c: Accessible attribute content * * Copyright 2020 GNOME Foundation * diff --git a/gtk/gtkapplication-wayland.c b/gtk/gtkapplication-wayland.c index a5731769d2..865d60f674 100644 --- a/gtk/gtkapplication-wayland.c +++ b/gtk/gtkapplication-wayland.c @@ -32,7 +32,7 @@ typedef struct { GtkApplicationImplDBusClass parent_class; - /* stores the dbus version of the overriden methods */ + /* stores the dbus version of the overridden methods */ guint (*dbus_inhibit) (GtkApplicationImpl *impl, GtkWindow *window, GtkApplicationInhibitFlags flags, diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c index 54e393edd3..f8ab3d406a 100644 --- a/gtk/gtkapplicationwindow.c +++ b/gtk/gtkapplicationwindow.c @@ -791,7 +791,7 @@ show_help_overlay (GSimpleAction *action, * sets up an action with the name win.show-help-overlay to present * it. * - * @window takes resposibility for destroying @help_overlay. + * @window takes responsibility for destroying @help_overlay. */ void gtk_application_window_set_help_overlay (GtkApplicationWindow *window, diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c index b7c2cef769..ad6049ffe9 100644 --- a/gtk/gtkaspectframe.c +++ b/gtk/gtkaspectframe.c @@ -446,7 +446,7 @@ gtk_aspect_frame_get_ratio (GtkAspectFrame *self) * @obey_child: If %TRUE, @ratio is ignored, and the aspect * ratio is taken from the requistion of the child. * - * Sets whether the aspect ratio of the childs size + * Sets whether the aspect ratio of the child's size * request should override the set aspect ratio of * the #GtkAspectFrame. */ @@ -470,10 +470,10 @@ gtk_aspect_frame_set_obey_child (GtkAspectFrame *self, * gtk_aspect_frame_get_obey_child: * @self: a #GtkAspectFrame * - * Returns whether the childs size request should override + * Returns whether the child's size request should override * the set aspect ratio of the #GtkAspectFrame. * - * Returns: whether to obey the childs size request + * Returns: whether to obey the child's size request */ gboolean gtk_aspect_frame_get_obey_child (GtkAspectFrame *self) diff --git a/gtk/gtkbitset.c b/gtk/gtkbitset.c index 80d494f066..a248235e58 100644 --- a/gtk/gtkbitset.c +++ b/gtk/gtkbitset.c @@ -436,7 +436,7 @@ gtk_bitset_remove_range (GtkBitset *self, * @last: last value to add * * Adds the closed range [@first, @last], so @first, @last and all - * values inbetween. @first must be smaller than @last. + * values in between. @first must be smaller than @last. **/ void gtk_bitset_add_range_closed (GtkBitset *self, @@ -456,7 +456,7 @@ gtk_bitset_add_range_closed (GtkBitset *self, * @last: last value to remove * * Removes the closed range [@first, @last], so @first, @last and all - * values inbetween. @first must be smaller than @last. + * values in between. @first must be smaller than @last. **/ void gtk_bitset_remove_range_closed (GtkBitset *self, diff --git a/gtk/gtkbookmarklist.c b/gtk/gtkbookmarklist.c index f900a94246..58b11145b4 100644 --- a/gtk/gtkbookmarklist.c +++ b/gtk/gtkbookmarklist.c @@ -564,7 +564,7 @@ gtk_bookmark_list_get_io_priority (GtkBookmarkList *self) * * Files will be added to @self from time to time while loading is * going on. The order in which are added is undefined and may change - * inbetween runs. + * in between runs. * * Returns: %TRUE if @self is loading */ diff --git a/gtk/gtkboolfilter.c b/gtk/gtkboolfilter.c index 9a5ac17e1b..de37ac0bd2 100644 --- a/gtk/gtkboolfilter.c +++ b/gtk/gtkboolfilter.c @@ -158,7 +158,7 @@ gtk_bool_filter_class_init (GtkBoolFilterClass *class) /** * GtkBoolFilter:expression: (type GtkExpression) * - * The boolean expression to evalute on item + * The boolean expression to evaluate on item */ properties[PROP_EXPRESSION] = gtk_param_spec_expression ("expression", diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index 6c5f5469f0..02541a4b84 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -1766,7 +1766,7 @@ gtk_builder_get_current_object (GtkBuilder *builder) * %NULL for none * * Sets the current object for the @builder. The current object can be - * tought of as the `this` object that the builder is working for and + * thought of as the `this` object that the builder is working for and * will often be used as the default object when an object is optional. * * gtk_widget_init_template() for example will set the current object to diff --git a/gtk/gtkbuilderparser.c b/gtk/gtkbuilderparser.c index e222813e68..f86aa869b1 100644 --- a/gtk/gtkbuilderparser.c +++ b/gtk/gtkbuilderparser.c @@ -2010,9 +2010,9 @@ end_element (GtkBuildableParseContext *context, { RequiresInfo *req_info = state_pop_info (data, RequiresInfo); - /* TODO: Allow third party widget developers to check thier + /* TODO: Allow third party widget developers to check their * required versions, possibly throw a signal allowing them - * to check thier library versions here. + * to check their library versions here. */ if (!strcmp (req_info->library, "gtk+")) { diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c index e0ce9e48e6..2cbf5c31aa 100644 --- a/gtk/gtkcellarea.c +++ b/gtk/gtkcellarea.c @@ -186,7 +186,7 @@ * * # Rendering Areas * - * Once area sizes have been aquired at least for the rows in the + * Once area sizes have been acquired at least for the rows in the * visible area of the layouting widget they can be rendered at * #GtkWidgetClass.snapshot() time. * @@ -1330,7 +1330,7 @@ gtk_cell_area_real_get_preferred_height_for_width (GtkCellArea *area, int *minimum_height, int *natural_height) { - /* If the area doesnt do height-for-width, fallback on base preferred height */ + /* If the area doesn't do height-for-width, fallback on base preferred height */ GTK_CELL_AREA_GET_CLASS (area)->get_preferred_height (area, context, widget, minimum_height, natural_height); } @@ -1342,7 +1342,7 @@ gtk_cell_area_real_get_preferred_width_for_height (GtkCellArea *area, int *minimum_width, int *natural_width) { - /* If the area doesnt do width-for-height, fallback on base preferred width */ + /* If the area doesn't do width-for-height, fallback on base preferred width */ GTK_CELL_AREA_GET_CLASS (area)->get_preferred_width (area, context, widget, minimum_width, natural_width); } diff --git a/gtk/gtkcellareabox.c b/gtk/gtkcellareabox.c index 5d82fd95ea..1d5a5fa138 100644 --- a/gtk/gtkcellareabox.c +++ b/gtk/gtkcellareabox.c @@ -1228,7 +1228,7 @@ gtk_cell_area_box_foreach_alloc (GtkCellArea *area, } else { - /* If the cell we are rendering doesnt fit into the remaining space, + /* If the cell we are rendering doesn't fit into the remaining space, * clip it so that the underlying renderer has a chance to deal with * it (for instance text renderers get a chance to ellipsize). */ diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c index 0f48cfeb32..090aede60f 100644 --- a/gtk/gtkcellrenderer.c +++ b/gtk/gtkcellrenderer.c @@ -1378,7 +1378,7 @@ gtk_cell_renderer_get_request_mode (GtkCellRenderer *cell) * @minimum_size: (out) (allow-none): location to store the minimum size, or %NULL * @natural_size: (out) (allow-none): location to store the natural size, or %NULL * - * Retreives a renderer’s natural size when rendered to @widget. + * Retrieves a renderer’s natural size when rendered to @widget. */ void gtk_cell_renderer_get_preferred_width (GtkCellRenderer *cell, @@ -1424,7 +1424,7 @@ gtk_cell_renderer_get_preferred_width (GtkCellRenderer *cell, * @minimum_size: (out) (allow-none): location to store the minimum size, or %NULL * @natural_size: (out) (allow-none): location to store the natural size, or %NULL * - * Retreives a renderer’s natural size when rendered to @widget. + * Retrieves a renderer’s natural size when rendered to @widget. */ void gtk_cell_renderer_get_preferred_height (GtkCellRenderer *cell, @@ -1471,7 +1471,7 @@ gtk_cell_renderer_get_preferred_height (GtkCellRenderer *cell, * @minimum_width: (out) (allow-none): location for storing the minimum size, or %NULL * @natural_width: (out) (allow-none): location for storing the preferred size, or %NULL * - * Retreives a cell renderers’s minimum and natural width if it were rendered to + * Retrieves a cell renderers’s minimum and natural width if it were rendered to * @widget with the specified @height. */ void @@ -1519,7 +1519,7 @@ gtk_cell_renderer_get_preferred_width_for_height (GtkCellRenderer *cell, * @minimum_height: (out) (allow-none): location for storing the minimum size, or %NULL * @natural_height: (out) (allow-none): location for storing the preferred size, or %NULL * - * Retreives a cell renderers’s minimum and natural height if it were rendered to + * Retrieves a cell renderers’s minimum and natural height if it were rendered to * @widget with the specified @width. */ void diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index 2168129d3d..f30a89dcc5 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -1853,7 +1853,7 @@ gtk_cell_renderer_text_start_editing (GtkCellRenderer *cell, * Sets the height of a renderer to explicitly be determined by the “font” and * “y_pad” property set on it. Further changes in these properties do not * affect the height, so they must be accompanied by a subsequent call to this - * function. Using this function is unflexible, and should really only be used + * function. Using this function is inflexible, and should really only be used * if calculating the size of a cell is too slow (ie, a massive number of cells * displayed). If @number_of_rows is -1, then the fixed height is unset, and * the height is determined by the properties again. @@ -2003,7 +2003,7 @@ gtk_cell_renderer_text_get_preferred_height (GtkCellRenderer *cell, * height-for-width and not the opposite. Here we have only to return * the height for the base minimum width of the renderer. * - * Note this code path wont be followed by GtkTreeView which is + * Note this code path won't be followed by GtkTreeView which is * height-for-width specifically. */ gtk_cell_renderer_get_preferred_width (cell, widget, &min_width, NULL); diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c index 1188c7bfc9..c92bd997a6 100644 --- a/gtk/gtkcellview.c +++ b/gtk/gtkcellview.c @@ -42,7 +42,7 @@ * and #GtkCellAreaContext. A #GtkCellAreaContext can be provided to the * #GtkCellView at construction time in order to keep the cellview in context * of a group of cell views, this ensures that the renderers displayed will - * be properly aligned with eachother (like the aligned cells in the menus + * be properly aligned with each other (like the aligned cells in the menus * of #GtkComboBox). * * #GtkCellView is #GtkOrientable in order to decide in which orientation @@ -268,7 +268,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass) * * Whether the view should request enough space to always fit * the size of every row in the model (used by the combo box to - * ensure the combo box size doesnt change when different items + * ensure the combo box size doesn't change when different items * are selected). * * since 3.0 @@ -840,7 +840,7 @@ gtk_cell_view_new (void) * Creates a new #GtkCellView widget with a specific #GtkCellArea * to layout cells and a specific #GtkCellAreaContext. * - * Specifying the same context for a handfull of cells lets + * Specifying the same context for a handful of cells lets * the underlying area synchronize the geometry for those cells, * in this way alignments with cellviews for other rows are * possible. diff --git a/gtk/gtkcolumnviewcell.c b/gtk/gtkcolumnviewcell.c index e0f0885803..ace8037188 100644 --- a/gtk/gtkcolumnviewcell.c +++ b/gtk/gtkcolumnviewcell.c @@ -175,7 +175,7 @@ gtk_column_view_cell_init (GtkColumnViewCell *self) GtkWidget *widget = GTK_WIDGET (self); gtk_widget_set_focusable (widget, FALSE); - /* FIXME: Figure out if settting the manager class to INVALID should work */ + /* FIXME: Figure out if setting the manager class to INVALID should work */ gtk_widget_set_layout_manager (widget, NULL); widget->priv->resize_func = gtk_column_view_cell_resize_func; } diff --git a/gtk/gtkcolumnviewcolumn.c b/gtk/gtkcolumnviewcolumn.c index f9d0d64246..4c738fd6fc 100644 --- a/gtk/gtkcolumnviewcolumn.c +++ b/gtk/gtkcolumnviewcolumn.c @@ -697,7 +697,7 @@ gtk_column_view_column_set_factory (GtkColumnViewColumn *self, * @title: (nullable): Title to use for this column * * Sets the title of this column. The title is displayed in the header of a - * #GtkColumnView for this column and is therefor user-facing text that should + * #GtkColumnView for this column and is therefore user-facing text that should * be translated. */ void diff --git a/gtk/gtkconstraintexpression.c b/gtk/gtkconstraintexpression.c index f3a0a37f79..42dffdc7d8 100644 --- a/gtk/gtkconstraintexpression.c +++ b/gtk/gtkconstraintexpression.c @@ -586,7 +586,7 @@ gtk_constraint_variable_set_iter_next (GtkConstraintVariableSetIter *iter, * @first: a #GtkConstraintVariable * @second: a #GtkConstraintVariable * - * Creates a new #GtkConstraintVariablePair, containint @first and @second. + * Creates a new #GtkConstraintVariablePair, containing @first and @second. * * The #GtkConstraintVariablePair acquires a reference over the two * given #GtkConstraintVariables. diff --git a/gtk/gtkcssimage.c b/gtk/gtkcssimage.c index fe3bae9335..62839d2cf5 100644 --- a/gtk/gtkcssimage.c +++ b/gtk/gtkcssimage.c @@ -547,7 +547,7 @@ gtk_css_image_get_parser_type (GtkCssParser *parser) * implementing shorthand properties. A successful parse of an image * can not be guaranteed. * - * Returns: %TURE if it looks like an image. + * Returns: %TRUE if it looks like an image. **/ gboolean _gtk_css_image_can_parse (GtkCssParser *parser) diff --git a/gtk/gtkcssnode.c b/gtk/gtkcssnode.c index b8522a1e37..a6cb39020f 100644 --- a/gtk/gtkcssnode.c +++ b/gtk/gtkcssnode.c @@ -73,7 +73,7 @@ * - The sibling ordering in the CSS node tree is supposed to correspond * to the visible order of content: top-to-bottom and left-to-right. * Reorder your nodes to maintain this correlation. In particular for - * horizontally layed out widgets, this will require listening to + * horizontally laid out widgets, this will require listening to * ::direction-changed. * - The draw function should just use gtk_style_context_save_to_node() to * 'switch' to the right node, not make any other changes to the style diff --git a/gtk/gtkcssvalue.c b/gtk/gtkcssvalue.c index b5bcb91369..dddfce8c40 100644 --- a/gtk/gtkcssvalue.c +++ b/gtk/gtkcssvalue.c @@ -244,7 +244,7 @@ gboolean _gtk_css_value_equal0 (const GtkCssValue *value1, const GtkCssValue *value2) { - /* Inclues both values being NULL */ + /* Includes both values being NULL */ if (value1 == value2) return TRUE; diff --git a/gtk/gtkdirectorylist.c b/gtk/gtkdirectorylist.c index 5ec5c94b0d..d65c0e9229 100644 --- a/gtk/gtkdirectorylist.c +++ b/gtk/gtkdirectorylist.c @@ -779,7 +779,7 @@ gtk_directory_list_get_attributes (GtkDirectoryList *self) * * The default IO priority is %G_PRIORITY_DEFAULT, which is higher than * the GTK redraw priority. If you are loading a lot of directories in - * parrallel, lowering it to something like %G_PRIORITY_DEFAULT_IDLE + * parallel, lowering it to something like %G_PRIORITY_DEFAULT_IDLE * may increase responsiveness. */ void @@ -821,7 +821,7 @@ gtk_directory_list_get_io_priority (GtkDirectoryList *self) * * Files will be added to @self from time to time while loading is * going on. The order in which are added is undefined and may change - * inbetween runs. + * in between runs. * * Returns: %TRUE if @self is loading */ diff --git a/gtk/gtkexpression.c b/gtk/gtkexpression.c index 81e1207b40..ddf2b560ef 100644 --- a/gtk/gtkexpression.c +++ b/gtk/gtkexpression.c @@ -81,7 +81,7 @@ * have changed. gtk_expression_watch() starts watching an expression, and * gtk_expression_watch_unwatch() stops. * - * Watches can be created for automatically updating the propery of an object, + * Watches can be created for automatically updating the property of an object, * similar to GObject's #GBinding mechanism, by using gtk_expression_bind(). * * # GtkExpression in GObject properties diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c index bd31cf90ae..6999f1926d 100644 --- a/gtk/gtkfilechooser.c +++ b/gtk/gtkfilechooser.c @@ -244,7 +244,7 @@ gtk_file_chooser_get_select_multiple (GtkFileChooser *chooser) * @chooser: a #GtkFileChooser * @create_folders: %TRUE if the Create Folder button should be displayed * - * Sets whether file choser will offer to create new folders. + * Sets whether file chooser will offer to create new folders. * This is only relevant if the action is not set to be * %GTK_FILE_CHOOSER_ACTION_OPEN. **/ @@ -261,7 +261,7 @@ gtk_file_chooser_set_create_folders (GtkFileChooser *chooser, * gtk_file_chooser_get_create_folders: * @chooser: a #GtkFileChooser * - * Gets whether file choser will offer to create new folders. + * Gets whether file chooser will offer to create new folders. * See gtk_file_chooser_set_create_folders(). * * Returns: %TRUE if the Create Folder button should be displayed. diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 2eae39493c..ec30098d72 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -1336,7 +1336,7 @@ rename_file_rename_clicked (GtkButton *button, error_dialog (impl, _("The file could not be renamed"), error); else { - /* Rename succeded, save renamed file so it will + /* Rename succeeded, save renamed file so it will * be revealed by our "row-changed" handler */ impl->renamed_file = g_object_ref (child); } diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c index 93359aa77f..e41e6e121f 100644 --- a/gtk/gtkflowbox.c +++ b/gtk/gtkflowbox.c @@ -1581,7 +1581,7 @@ gtk_flow_box_size_allocate (GtkWidget *widget, /* By default flow at the natural item width */ line_length = avail_size / (nat_item_size + item_spacing); - /* After the above aproximation, check if we cant fit one more on the line */ + /* After the above approximation, check if we can't fit one more on the line */ if (line_length * item_spacing + (line_length + 1) * nat_item_size <= avail_size) line_length++; @@ -1621,7 +1621,7 @@ gtk_flow_box_size_allocate (GtkWidget *widget, if (line_align != GTK_ALIGN_FILL) line_size = MIN (line_size, nat_fixed_line_size); - /* Get the real extra pixels incase of GTK_ALIGN_START lines */ + /* Get the real extra pixels in case of GTK_ALIGN_START lines */ extra_pixels = avail_size - (line_length - 1) * item_spacing - item_size * line_length; extra_line_pixels = avail_other_size - (n_lines - 1) * line_spacing - line_size * n_lines; } @@ -2012,7 +2012,7 @@ gtk_flow_box_measure (GtkWidget *widget, nat_width += nat_line_length; } } - else /* In homogeneous mode; horizontally oriented boxs + else /* In homogeneous mode; horizontally oriented boxes * give the same width to all children */ { get_max_item_size (box, GTK_ORIENTATION_HORIZONTAL, @@ -2096,7 +2096,7 @@ gtk_flow_box_measure (GtkWidget *widget, /* By default flow at the natural item width */ line_length = avail_size / (nat_item_height + priv->row_spacing); - /* After the above aproximation, check if we cant fit one more on the line */ + /* After the above approximation, check if we can't fit one more on the line */ if (line_length * priv->row_spacing + (line_length + 1) * nat_item_height <= avail_size) line_length++; @@ -2336,7 +2336,7 @@ gtk_flow_box_measure (GtkWidget *widget, /* By default flow at the natural item width */ line_length = avail_size / (nat_item_width + priv->column_spacing); - /* After the above aproximation, check if we cant fit one more on the line */ + /* After the above approximation, check if we can't fit one more on the line */ if (line_length * priv->column_spacing + (line_length + 1) * nat_item_width <= avail_size) line_length++; @@ -3690,7 +3690,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class) /** * GtkFlowBox::selected-children-changed: - * @box: the #GtkFlowBox on wich the signal is emitted + * @box: the #GtkFlowBox on which the signal is emitted * * The ::selected-children-changed signal is emitted when the * set of selected children changes. @@ -3976,7 +3976,7 @@ gtk_flow_box_bound_model_changed (GListModel *list, } } -/* Buildable implemenation {{{3 */ +/* Buildable implementation {{{3 */ static GtkBuildableIface *parent_buildable_iface; diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index c1542001dd..748a25fad2 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -350,7 +350,7 @@ gtk_frame_set_label (GtkFrame *frame, * to gtk_frame_new().) * * Returns: (nullable): the text in the label, or %NULL if there - * was no label widget or the lable widget was not + * was no label widget or the label widget was not * a #GtkLabel. This string is owned by GTK+ and * must not be modified or freed. **/ diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c index 544ef87bd3..7f983d8586 100644 --- a/gtk/gtkgesture.c +++ b/gtk/gtkgesture.c @@ -31,7 +31,7 @@ * * The number of touches that a #GtkGesture need to be recognized is controlled * by the #GtkGesture:n-points property, if a gesture is keeping track of less - * or more than that number of sequences, it won't check wether the gesture + * or more than that number of sequences, it won't check whether the gesture * is recognized. * * As soon as the gesture has the expected number of touches, it will check diff --git a/gtk/gtkgesturedrag.c b/gtk/gtkgesturedrag.c index f0939136bb..cf797df194 100644 --- a/gtk/gtkgesturedrag.c +++ b/gtk/gtkgesturedrag.c @@ -24,7 +24,7 @@ * @See_also: #GtkGestureSwipe * * #GtkGestureDrag is a #GtkGesture implementation that recognizes drag - * operations. The drag operation itself can be tracked throught the + * operations. The drag operation itself can be tracked throughout the * #GtkGestureDrag::drag-begin, #GtkGestureDrag::drag-update and * #GtkGestureDrag::drag-end signals, or the relevant coordinates be * extracted through gtk_gesture_drag_get_offset() and diff --git a/gtk/gtkglarea.c b/gtk/gtkglarea.c index 09b4d35fff..4cb815e1d9 100644 --- a/gtk/gtkglarea.c +++ b/gtk/gtkglarea.c @@ -521,7 +521,7 @@ gtk_gl_area_allocate_texture (GtkGLArea *area) * * Ensures that the @area framebuffer object is made the current draw * and read target, and that all the required buffers for the @area - * are created and bound to the frambuffer. + * are created and bound to the framebuffer. * * This function is automatically called before emitting the * #GtkGLArea::render signal, and doesn't normally need to be called @@ -811,7 +811,7 @@ gtk_gl_area_class_init (GtkGLAreaClass *klass) * If set to %FALSE the data from previous rendering is kept around and will * be used for drawing the widget the next time, unless the window is resized. * In order to force a rendering gtk_gl_area_queue_render() must be called. - * This mode is useful when the scene changes seldomly, but takes a long time + * This mode is useful when the scene changes seldom, but takes a long time * to redraw. */ obj_props[PROP_AUTO_RENDER] = @@ -1271,7 +1271,7 @@ gtk_gl_area_get_auto_render (GtkGLArea *area) * around and will be used for drawing the widget the next time, * unless the window is resized. In order to force a rendering * gtk_gl_area_queue_render() must be called. This mode is useful when - * the scene changes seldomly, but takes a long time to redraw. + * the scene changes seldom, but takes a long time to redraw. */ void gtk_gl_area_set_auto_render (GtkGLArea *area, diff --git a/gtk/gtkgridview.c b/gtk/gtkgridview.c index a945683b03..00b40976a7 100644 --- a/gtk/gtkgridview.c +++ b/gtk/gtkgridview.c @@ -207,7 +207,7 @@ cell_augment (GtkRbTree *tree, * @y into the primary direction. * * If y is larger than the height of all cells, %NULL will be returned. - * In particular that means that for an emtpy grid, %NULL is returned + * In particular that means that for an empty grid, %NULL is returned * for any value. * * Returns: (nullable): The first cell at offset y or %NULL if none diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c index 61c1b7bb0f..061b66f1cc 100644 --- a/gtk/gtkiconcache.c +++ b/gtk/gtkiconcache.c @@ -95,7 +95,7 @@ gtk_icon_cache_new_for_path (const char *path) if (g_stat (cache_filename, &st) < 0 || st.st_size < 4) goto done; - /* Verify cache is uptodate */ + /* Verify cache is up-to-date */ if (st.st_mtime < path_st.st_mtime) { GTK_NOTE (ICONTHEME, g_message ("icon cache outdated")); diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index cd1010376d..c7822ad129 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -231,7 +231,7 @@ gtk_string_set_add (GtkStringSet *set, * All private functions that take a GtkIconTheme (or one of its * private data types (like IconThemeDir, UnthemedIcon, etc) arg are * expected to be called with the icon theme lock held, unless the - * funcion has a _unlocked suffix. Any similar function that must be + * function has a _unlocked suffix. Any similar function that must be * called on the main thread, will have a _mainthread suffix. * * So the rules for such functions are: @@ -1395,7 +1395,7 @@ gtk_icon_theme_dispose (GObject *object) * we finalize on a thread and on the main thread some display or * setting signal is emitted. * - * It is possible that before we aquire the lock this happens + * It is possible that before we acquire the lock this happens * and the other thread refs the icon theme for some reason, but * this is ok as it is allowed to resurrect objects in dispose * (but not in finalize). diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index f1cc209ffd..507875a075 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -3131,7 +3131,7 @@ gtk_icon_view_row_changed (GtkTreeModel *model, * and only invalidate a single item and queue a relayout * instead of invalidating the whole thing. * - * For now GtkIconView still cant deal with huge models + * For now GtkIconView still can't deal with huge models * so just invalidate the whole thing when the model * changes. */ diff --git a/gtk/gtkiconview.h b/gtk/gtkiconview.h index 5b559035db..022b455188 100644 --- a/gtk/gtkiconview.h +++ b/gtk/gtkiconview.h @@ -53,7 +53,7 @@ typedef void (* GtkIconViewForeachFunc) (GtkIconView *icon_view, * GtkIconViewDropPosition: * @GTK_ICON_VIEW_NO_DROP: no drop possible * @GTK_ICON_VIEW_DROP_INTO: dropped item replaces the item - * @GTK_ICON_VIEW_DROP_LEFT: droppped item is inserted to the left + * @GTK_ICON_VIEW_DROP_LEFT: dropped item is inserted to the left * @GTK_ICON_VIEW_DROP_RIGHT: dropped item is inserted to the right * @GTK_ICON_VIEW_DROP_ABOVE: dropped item is inserted above * @GTK_ICON_VIEW_DROP_BELOW: dropped item is inserted below diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index 4e0b5930f5..730660ff06 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -113,7 +113,7 @@ static void gtk_image_measure (GtkWidget *widget, static void gtk_image_css_changed (GtkWidget *widget, GtkCssStyleChange *change); static void gtk_image_system_setting_changed (GtkWidget *widget, - GtkSystemSetting seting); + GtkSystemSetting setting); static void gtk_image_finalize (GObject *object); static void gtk_image_set_property (GObject *object, diff --git a/gtk/gtkimcontextime.c b/gtk/gtkimcontextime.c index c7de8d66f6..1880332978 100644 --- a/gtk/gtkimcontextime.c +++ b/gtk/gtkimcontextime.c @@ -671,7 +671,7 @@ gtk_im_context_ime_focus_in (GtkIMContext *context) if (!GDK_IS_SURFACE (context_ime->client_surface)) return; - /* swtich current context */ + /* switch current context */ context_ime->focus = TRUE; hwnd = gdk_win32_surface_get_impl_hwnd (context_ime->client_surface); @@ -727,7 +727,7 @@ gtk_im_context_ime_focus_out (GtkIMContext *context) if (!GDK_IS_SURFACE (context_ime->client_surface)) return; - /* swtich current context */ + /* switch current context */ context_ime->focus = FALSE; hwnd = gdk_win32_surface_get_impl_hwnd (context_ime->client_surface); @@ -776,7 +776,7 @@ gtk_im_context_ime_focus_out (GtkIMContext *context) context_ime->preediting = FALSE; } - /* remove event fileter */ + /* remove event filter */ toplevel = context_ime->client_surface; if (GDK_IS_SURFACE (toplevel)) { diff --git a/gtk/gtkkineticscrolling.c b/gtk/gtkkineticscrolling.c index 830fbe7dae..a03f683876 100644 --- a/gtk/gtkkineticscrolling.c +++ b/gtk/gtkkineticscrolling.c @@ -31,7 +31,7 @@ * * y'' = -my' * - * With m the resistence factor. For this we use the following 2 + * With m the resistance factor. For this we use the following 2 * base solutions: * * f1(x) = 1 diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 378069d8a5..d9149198c6 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -82,7 +82,7 @@ * * GtkLabel has a single CSS node with the name label. A wide variety * of style classes may be applied to labels, such as .title, .subtitle, - * .dim-label, etc. In the #GtkShortcutsWindow, labels are used wth the + * .dim-label, etc. In the #GtkShortcutsWindow, labels are used with the * .keycap style class. * * If the label has a selection, it gets a subnode with name selection. @@ -778,7 +778,7 @@ gtk_label_class_init (GtkLabelClass *class) /** * GtkLabel:xalign: * - * The xalign property determines the horizontal aligment of the label text + * The xalign property determines the horizontal alignment of the label text * inside the labels size allocation. Compare this to #GtkWidget:halign, * which determines how the labels size allocation is positioned in the * space available for the label. @@ -794,7 +794,7 @@ gtk_label_class_init (GtkLabelClass *class) /** * GtkLabel:yalign: * - * The yalign property determines the vertical aligment of the label text + * The yalign property determines the vertical alignment of the label text * inside the labels size allocation. Compare this to #GtkWidget:valign, * which determines how the labels size allocation is positioned in the * space available for the label. diff --git a/gtk/gtklistbase.c b/gtk/gtklistbase.c index d6e1a129d0..efc2ced6db 100644 --- a/gtk/gtklistbase.c +++ b/gtk/gtklistbase.c @@ -1600,7 +1600,7 @@ gtk_list_base_stop_rubberband (GtkListBase *self, selected = gtk_bitset_new_empty (); mask = gtk_bitset_ref (rubberband_selection); } - else /* no modifer */ + else /* no modifier */ { /* select the rubberband, clear the rest */ selected = gtk_bitset_ref (rubberband_selection); diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c index 98af2f58fa..6235e44768 100644 --- a/gtk/gtklistbox.c +++ b/gtk/gtklistbox.c @@ -540,7 +540,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass) /** * GtkListBox::selected-rows-changed: - * @box: the #GtkListBox on wich the signal is emitted + * @box: the #GtkListBox on which the signal is emitted * * The ::selected-rows-changed signal is emitted when the * set of selected rows changes. diff --git a/gtk/gtkmediastream.c b/gtk/gtkmediastream.c index 120d4a656f..c7c0a6fb0c 100644 --- a/gtk/gtkmediastream.c +++ b/gtk/gtkmediastream.c @@ -752,7 +752,7 @@ gtk_media_stream_get_error (GtkMediaStream *self) * in process, the GtkMediaStream:seeking property will be set. * * When calling gtk_media_stream_seek() during an ongoing seek operation, - * the new seek wil override any pending seek. + * the new seek will override any pending seek. **/ void gtk_media_stream_seek (GtkMediaStream *self, diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c index b1bf809a3c..395f3eeea4 100644 --- a/gtk/gtkmountoperation.c +++ b/gtk/gtkmountoperation.c @@ -83,7 +83,7 @@ * gtk_show_uri_on_window() is a convenient way to launch applications for URIs. * * Another object that is worth mentioning in this context is - * #GdkAppLaunchContext, which provides visual feedback when lauching + * #GdkAppLaunchContext, which provides visual feedback when launching * applications. */ diff --git a/gtk/gtknumericsorter.c b/gtk/gtknumericsorter.c index ef5fb92198..895570bc73 100644 --- a/gtk/gtknumericsorter.c +++ b/gtk/gtknumericsorter.c @@ -543,7 +543,7 @@ gtk_numeric_sorter_class_init (GtkNumericSorterClass *class) /** * GtkNumericSorter:expression: (type GtkExpression) * - * The expression to evalute on items to get a number to compare with + * The expression to evaluate on items to get a number to compare with */ properties[PROP_EXPRESSION] = gtk_param_spec_expression ("expression", diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index 9e8e6adc58..40dcae72aa 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -217,7 +217,7 @@ gtk_path_bar_init (GtkPathBar *path_bar) gtk_widget_add_css_class (path_bar->down_slider_button, "slider-button"); gtk_widget_set_parent (path_bar->down_slider_button, GTK_WIDGET (path_bar)); - /* GtkBuilder wont let us connect 'swapped' without specifying the signal's + /* GtkBuilder won't let us connect 'swapped' without specifying the signal's * user data in the .ui file */ g_signal_connect_swapped (path_bar->up_slider_button, "clicked", diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index d7ac99a788..3995368478 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -1915,7 +1915,7 @@ dnd_cancel_cb (GdkDrag *drag, * is also not true, since when the drag comes from a different widget than the * sidebar, when the drag stops the last drag signal we receive is drag-leave. * So here what we will do is restore the state of the sidebar as if no drag - * is being done (and if the application didnt request for permanent hints with + * is being done (and if the application didn't request for permanent hints with * gtk_places_sidebar_show_drop_hints) and we will free the drag data next time * we build new drag data in drag_data_received. */ diff --git a/gtk/gtkprintjob.c b/gtk/gtkprintjob.c index 554036bbcc..741c0877d5 100644 --- a/gtk/gtkprintjob.c +++ b/gtk/gtkprintjob.c @@ -567,7 +567,7 @@ gtk_print_job_set_track_print_status (GtkPrintJob *job, * gtk_print_job_get_track_print_status: * @job: a #GtkPrintJob * - * Returns wheter jobs will be tracked after printing. + * Returns whether jobs will be tracked after printing. * For details, see gtk_print_job_set_track_print_status(). * * Returns: %TRUE if print job status will be reported after printing diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c index 6760aafcf9..c75641f887 100644 --- a/gtk/gtkprintoperation-unix.c +++ b/gtk/gtkprintoperation-unix.c @@ -251,7 +251,7 @@ gtk_print_operation_unix_launch_preview (GtkPrintOperation *op, gtk_print_settings_set_number_up (print_settings, 1); gtk_print_settings_set_number_up_layout (print_settings, GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM); - /* These removals are neccessary because cups-* settings have higher priority + /* These removals are necessary because cups-* settings have higher priority * than normal settings. */ gtk_print_settings_unset (print_settings, "cups-reverse"); diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index 3ffcfa45d2..bf9a00b659 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -1119,7 +1119,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class) * * This must be set to a positive number * before the rendering starts. It may be set in a - * #GtkPrintOperation::begin-print signal hander. + * #GtkPrintOperation::begin-print signal handler. * * Note that the page numbers passed to the * #GtkPrintOperation::request-page-setup and @@ -1545,7 +1545,7 @@ gtk_print_operation_set_job_name (GtkPrintOperation *op, * * This must be set to a positive number * before the rendering starts. It may be set in a - * #GtkPrintOperation::begin-print signal hander. + * #GtkPrintOperation::begin-print signal handler. * * Note that the page numbers passed to the * #GtkPrintOperation::request-page-setup @@ -1874,7 +1874,7 @@ gtk_print_operation_set_custom_tab_label (GtkPrintOperation *op, * @filename: (type filename): the filename for the exported file * * Sets up the #GtkPrintOperation to generate a file instead - * of showing the print dialog. The indended use of this function + * of showing the print dialog. The intended use of this function * is for implementing “Export to PDF” actions. Currently, PDF * is the only supported format. * diff --git a/gtk/gtkpropertylookuplistmodel.c b/gtk/gtkpropertylookuplistmodel.c index 0c0dc4ea91..caf19b93d9 100644 --- a/gtk/gtkpropertylookuplistmodel.c +++ b/gtk/gtkpropertylookuplistmodel.c @@ -156,7 +156,7 @@ gtk_property_lookup_list_model_ensure (GtkPropertyLookupListModel *self, if (gtk_property_lookup_list_model_append (self, n_items) == n_items) { - /* readd NULL sentinel */ + /* re-add NULL sentinel */ g_ptr_array_add (self->items, NULL); } } diff --git a/gtk/gtkquartz.c b/gtk/gtkquartz.c index dc32364879..698dc3d832 100644 --- a/gtk/gtkquartz.c +++ b/gtk/gtkquartz.c @@ -65,7 +65,7 @@ _data_provider_release_cairo_surface (void* info, const void* data, size_t size) } /* Returns a new NSImage or %NULL in case of an error. - * The device scale factor will be transfered to the NSImage (hidpi) + * The device scale factor will be transferred to the NSImage (hidpi) */ NSImage * _gtk_quartz_create_image_from_surface (cairo_surface_t *surface) diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c index a986f3cc89..a610e361da 100644 --- a/gtk/gtkradiobutton.c +++ b/gtk/gtkradiobutton.c @@ -382,7 +382,7 @@ gtk_radio_button_set_group (GtkRadioButton *radio_button, /** * gtk_radio_button_join_group: * @radio_button: the #GtkRadioButton object - * @group_source: (allow-none): a radio button object whos group we are + * @group_source: (allow-none): a radio button object whose group we are * joining, or %NULL to remove the radio button from its group * * Joins a #GtkRadioButton object to the group of another #GtkRadioButton object diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c index 31596a68d5..67c933939c 100644 --- a/gtk/gtkrecentmanager.c +++ b/gtk/gtkrecentmanager.c @@ -1152,7 +1152,7 @@ build_recent_info (GBookmarkFile *bookmarks, * @error: (allow-none): a return location for a #GError, or %NULL * * Searches for a URI inside the recently used resources list, and - * returns a #GtkRecentInfo containing informations about the resource + * returns a #GtkRecentInfo containing information about the resource * like its MIME type, or its display name. * * Returns: (nullable): a #GtkRecentInfo containing information diff --git a/gtk/gtkrenderborder.c b/gtk/gtkrenderborder.c index 41c063d503..9ee5a62a9f 100644 --- a/gtk/gtkrenderborder.c +++ b/gtk/gtkrenderborder.c @@ -536,7 +536,7 @@ snapshot_border (GtkSnapshot *snapshot, continue; /* NB: code below divides by this value */ - /* a border smaller than this will not noticably modify + /* a border smaller than this will not noticeably modify * pixels on screen, and since we don't compare with 0, * we'll use this value */ if (border_width[i] < 1.0 / 1024) diff --git a/gtk/gtkrevealer.c b/gtk/gtkrevealer.c index 2571d82427..ccaaef4143 100644 --- a/gtk/gtkrevealer.c +++ b/gtk/gtkrevealer.c @@ -469,7 +469,7 @@ gtk_revealer_size_allocate (GtkWidget *widget, } /* We request a different size than the child requested scaled by - * this scale as it will render smaller from the transision. + * this scale as it will render smaller from the transition. * However, we still want to allocate the child widget with its * unscaled size so it renders right instead of e.g. ellipsizing or * some other form of clipping. We do this by reverse-applying diff --git a/gtk/gtkscrollable.c b/gtk/gtkscrollable.c index 2e581ee6ac..7c11d9edfe 100644 --- a/gtk/gtkscrollable.c +++ b/gtk/gtkscrollable.c @@ -297,7 +297,7 @@ gtk_scrollable_set_vscroll_policy (GtkScrollable *scrollable, * Returns the size of a non-scrolling border around the * outside of the scrollable. An example for this would * be treeview headers. GTK+ can use this information to - * display overlayed graphics, like the overshoot indication, + * display overlaid graphics, like the overshoot indication, * at the right position. * * Returns: %TRUE if @border has been set diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index 779ff18591..fbc03039e4 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -118,7 +118,7 @@ * the content is pulled beyond the end, and this situation can be * captured with the #GtkScrolledWindow::edge-overshot signal. * - * If no mouse device is present, the scrollbars will overlayed as + * If no mouse device is present, the scrollbars will overlaid as * narrow, auto-hiding indicators over the content. If traditional * scrollbars are desired although no mouse is present, this behaviour * can be turned off with the #GtkScrolledWindow:overlay-scrolling @@ -682,7 +682,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class) * * Whether overlay scrolling is enabled or not. If it is, the * scrollbars are only added as traditional widgets when a mouse - * is present. Otherwise, they are overlayed on top of the content, + * is present. Otherwise, they are overlaid on top of the content, * as narrow indicators. * * Note that overlay scrolling can also be globally disabled, with diff --git a/gtk/gtkselectionmodel.c b/gtk/gtkselectionmodel.c index f14676b912..1a70694fc5 100644 --- a/gtk/gtkselectionmodel.c +++ b/gtk/gtkselectionmodel.c @@ -495,7 +495,7 @@ gtk_selection_model_unselect_all (GtkSelectionModel *model) * are more likely to implement support for those. * * Requests that the selection state of all positions set in @mask be - * updated to the respecitve value in the @selected bitmask. + * updated to the respective value in the @selected bitmask. * * In pseudocode, it would look something like this: * diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 332f46fe2a..5802d80718 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -954,7 +954,7 @@ gtk_settings_class_init (GtkSettingsClass *class) /** * GtkSettings:gtk-overlay-scrolling: * - * Whether scrolled windows may use overlayed scrolling indicators. + * Whether scrolled windows may use overlaid scrolling indicators. * If this is set to %FALSE, scrolled windows will have permanent * scrollbars. */ diff --git a/gtk/gtksidebarrow.c b/gtk/gtksidebarrow.c index c1bf962c2b..0907ae2823 100644 --- a/gtk/gtksidebarrow.c +++ b/gtk/gtksidebarrow.c @@ -381,12 +381,12 @@ gtk_sidebar_row_reveal (GtkSidebarRow *self) void gtk_sidebar_row_hide (GtkSidebarRow *self, - gboolean inmediate) + gboolean immediate) { guint transition_duration; transition_duration = gtk_revealer_get_transition_duration (GTK_REVEALER (self->revealer)); - if (inmediate) + if (immediate) gtk_revealer_set_transition_duration (GTK_REVEALER (self->revealer), 0); gtk_revealer_set_reveal_child (GTK_REVEALER (self->revealer), FALSE); diff --git a/gtk/gtksidebarrowprivate.h b/gtk/gtksidebarrowprivate.h index 7ac9294e4f..bdec5cc01d 100644 --- a/gtk/gtksidebarrowprivate.h +++ b/gtk/gtksidebarrowprivate.h @@ -45,7 +45,7 @@ GtkSidebarRow *gtk_sidebar_row_clone (GtkSidebarRow *self); /* Use these methods instead of gtk_widget_hide/show to use an animation */ void gtk_sidebar_row_hide (GtkSidebarRow *self, - gboolean inmediate); + gboolean immediate); void gtk_sidebar_row_reveal (GtkSidebarRow *self); GtkWidget *gtk_sidebar_row_get_eject_button (GtkSidebarRow *self); diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index 0927efba90..6cbea694de 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -86,7 +86,7 @@ * properties. * * Note that GtkSpinButton will by default make its entry large enough to - * accomodate the lower and upper bounds of the adjustment. If this is + * accommodate the lower and upper bounds of the adjustment. If this is * not desired, the automatic sizing can be turned off by explicitly * setting #GtkEditable::width-chars to a value != -1. * @@ -1447,7 +1447,7 @@ gtk_spin_button_insert_text (GtkEditable *editable, * I don't know if the positive sign always gets bogusly set to * a digit when the above Registry value is corrupted as * described. (In my test case, it got set to "8", and in the - * bug report above it presumably was set ot "0".) Probably it + * bug report above it presumably was set to "0".) Probably it * might get set to almost anything? So how to distinguish a * bogus value from some correct one for some locale? That is * probably hard, but at least we should filter out the diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c index 5517c62220..75a2fa9e30 100644 --- a/gtk/gtkstack.c +++ b/gtk/gtkstack.c @@ -1761,7 +1761,7 @@ gtk_stack_set_interpolate_size (GtkStack *stack, * gtk_stack_get_interpolate_size: * @stack: A #GtkStack * - * Returns wether the #GtkStack is set up to interpolate between + * Returns whether the #GtkStack is set up to interpolate between * the sizes of children on page switch. * * Returns: %TRUE if child sizes are interpolated diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c index 3a656b9c87..b599964137 100644 --- a/gtk/gtkstatusbar.c +++ b/gtk/gtkstatusbar.c @@ -265,7 +265,7 @@ gtk_statusbar_get_context_id (GtkStatusbar *statusbar, g_return_val_if_fail (GTK_IS_STATUSBAR (statusbar), 0); g_return_val_if_fail (context_description != NULL, 0); - /* we need to preserve namespaces on object datas */ + /* we need to preserve namespaces on object data */ string = g_strconcat ("gtk-status-bar-context:", context_description, NULL); id = GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (statusbar), string)); diff --git a/gtk/gtkstringfilter.c b/gtk/gtkstringfilter.c index ed76d258c6..a3213ad649 100644 --- a/gtk/gtkstringfilter.c +++ b/gtk/gtkstringfilter.c @@ -245,7 +245,7 @@ gtk_string_filter_class_init (GtkStringFilterClass *class) /** * GtkStringFilter:expression: (type GtkExpression) * - * The expression to evalute on item to get a string to compare with + * The expression to evaluate on item to get a string to compare with */ properties[PROP_EXPRESSION] = gtk_param_spec_expression ("expression", diff --git a/gtk/gtkstringsorter.c b/gtk/gtkstringsorter.c index 24244162a9..135fc542e3 100644 --- a/gtk/gtkstringsorter.c +++ b/gtk/gtkstringsorter.c @@ -289,7 +289,7 @@ gtk_string_sorter_class_init (GtkStringSorterClass *class) /** * GtkStringSorter:expression: (type GtkExpression) * - * The expression to evalute on item to get a string to compare with + * The expression to evaluate on item to get a string to compare with */ properties[PROP_EXPRESSION] = gtk_param_spec_expression ("expression", diff --git a/gtk/gtktexthistory.c b/gtk/gtktexthistory.c index c6a787654b..fc80b892a5 100644 --- a/gtk/gtktexthistory.c +++ b/gtk/gtktexthistory.c @@ -35,7 +35,7 @@ * Calling gtk_text_history_begin_irreversible_action() and * gtk_text_history_end_irreversible_action() can be used to denote a * section of operations that cannot be undone. This will cause all previous - * changes tracked by the GtkTextHistory to be discared. + * changes tracked by the GtkTextHistory to be discarded. */ typedef struct _Action Action; diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index abb316fd9c..232634f18d 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -2491,7 +2491,7 @@ gtk_text_iter_backward_text_chars (GtkTextIter *iter, * Moves @iter to the start of the next line. If the iter is already on the * last line of the buffer, moves the iter to the end of the current line. * If after the operation, the iter is at the end of the buffer and not - * dereferencable, returns %FALSE. Otherwise, returns %TRUE. + * dereferenceable, returns %FALSE. Otherwise, returns %TRUE. * * Returns: whether @iter can be dereferenced **/ diff --git a/gtk/gtktextlayoutprivate.h b/gtk/gtktextlayoutprivate.h index 2d563ae6ae..2f0c7122f1 100644 --- a/gtk/gtktextlayoutprivate.h +++ b/gtk/gtktextlayoutprivate.h @@ -109,7 +109,7 @@ struct _GtkTextLayout * i.e. pixels we should wrap to fit inside. */ int screen_width; - /* width/height of the total logical area being layed out */ + /* width/height of the total logical area being laid out */ int width; int height; diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c index 9a970e6dc3..727ed359da 100644 --- a/gtk/gtktexttag.c +++ b/gtk/gtktexttag.c @@ -496,7 +496,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass) * GtkTextTag:underline-rgba: * * This property modifies the color of underlines. If not set, underlines - * will use the forground color. + * will use the foreground color. * * If #GtkTextTag:underline is set to %PANGO_UNDERLINE_ERROR, an alternate * color may be applied instead of the foreground. Setting this property @@ -531,7 +531,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass) * GtkTextTag:strikethrough-rgba: * * This property modifies the color of strikeouts. If not set, strikeouts - * will use the forground color. + * will use the foreground color. */ g_object_class_install_property (object_class, PROP_STRIKETHROUGH_RGBA, diff --git a/gtk/gtktexttagprivate.h b/gtk/gtktexttagprivate.h index 28e4e1cce7..13a8338f7f 100644 --- a/gtk/gtktexttagprivate.h +++ b/gtk/gtktexttagprivate.h @@ -43,7 +43,7 @@ struct _GtkTextTagPrivate * Information for displaying text with this tag. The information * belows acts as an override on information specified by lower-priority * tags. If no value is specified, then the next-lower-priority tag - * on the text determins the value. The text widget itself provides + * on the text determines the value. The text widget itself provides * defaults if no tag specifies an override. */ diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 53fe1dfd1a..13938c4cb6 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -2510,7 +2510,7 @@ _gtk_text_view_scroll_to_iter (GtkTextView *text_view, * we're doing center alignment we align the center of the * character. * - * The differents cases handle on each direction: + * The different cases handle on each direction: * 1. cursor outside of the inner area define by within_margin * 2. if use_align == TRUE, alignment with xalign and yalign * 3. scrolling on the edges dependent of with_border @@ -7425,7 +7425,7 @@ gtk_text_view_start_selection_drag (GtkTextView *text_view, gtk_text_iter_order (&old_start, &old_end); /* move the front cursor, if the mouse is in front of the selection. Should the - * cursor however be inside the selection (this happens on tripple click) then we + * cursor however be inside the selection (this happens on triple click) then we * move the side which was last moved (current insert mark) */ if (gtk_text_iter_compare (&cursor, &old_start) <= 0 || (gtk_text_iter_compare (&cursor, &old_end) < 0 && @@ -9241,7 +9241,7 @@ ensure_child (GtkTextView *text_view, * * Adds @child at a fixed coordinate in the #GtkTextView's text window. The * @xpos and @ypos must be in buffer coordinates (see - * gtk_text_view_get_iter_location() to conver to buffer coordinates). + * gtk_text_view_get_iter_location() to convert to buffer coordinates). * * @child will scroll with the text view. * diff --git a/gtk/gtktrashmonitor.c b/gtk/gtktrashmonitor.c index 46b69f529e..a0788083a6 100644 --- a/gtk/gtktrashmonitor.c +++ b/gtk/gtktrashmonitor.c @@ -169,7 +169,7 @@ recompute_trash_state (GtkTrashMonitor *monitor) GFile *file; /* Rate limit the updates to not flood the gvfsd-trash when too many changes - * happenned in a short time. + * happened in a short time. */ if (monitor->timeout_id > 0) { diff --git a/gtk/gtktreeexpander.c b/gtk/gtktreeexpander.c index 5f53daed04..14992685f7 100644 --- a/gtk/gtktreeexpander.c +++ b/gtk/gtktreeexpander.c @@ -558,7 +558,7 @@ gtk_tree_expander_class_init (GtkTreeExpanderClass *klass) "listitem.toggle-expand", NULL); #if 0 - /* These can't be implementes yet. */ + /* These can't be implements yet. */ gtk_widget_class_add_binding (widget_class, GDK_KEY_BackSpace, 0, go_to_parent_row, NULL, NULL); gtk_widget_class_add_binding (widget_class, GDK_KEY_BackSpace, GDK_CONTROL_MASK, go_to_parent_row, NULL, NULL); #endif diff --git a/gtk/gtktreelistrowsorter.c b/gtk/gtktreelistrowsorter.c index 39cb1c6e55..c4f63c1280 100644 --- a/gtk/gtktreelistrowsorter.c +++ b/gtk/gtktreelistrowsorter.c @@ -184,7 +184,7 @@ gtk_tree_list_row_sort_keys_compare (gconstpointer a, if (result == GTK_ORDERING_EQUAL) { /* We must break ties here because if a ever gets a child, - * it would need to go right inbetween a and b. */ + * it would need to go right in between a and b. */ GtkTreeListRowCacheKey *cachea = cache_key_from_key (self, keysa[i]); GtkTreeListRowCacheKey *cacheb = cache_key_from_key (self, keysb[i]); if (gtk_tree_list_row_get_position (cachea->row) < gtk_tree_list_row_get_position (cacheb->row)) @@ -422,7 +422,7 @@ gtk_tree_list_row_sorter_compare (GtkSorter *sorter, result = gtk_sorter_compare (self->sorter, obj1, obj2); /* We must break ties here because if r1 ever gets a child, - * it would need to go right inbetween r1 and r2. */ + * it would need to go right in between r1 and r2. */ if (result == GTK_ORDERING_EQUAL) { if (gtk_tree_list_row_get_position (r1) < gtk_tree_list_row_get_position (r2)) diff --git a/gtk/gtktreemodelfilter.c b/gtk/gtktreemodelfilter.c index 09c574c3b9..a72c6ea476 100644 --- a/gtk/gtktreemodelfilter.c +++ b/gtk/gtktreemodelfilter.c @@ -69,7 +69,7 @@ * or its parents. Usually, having a dependency on the state of any child * node is not possible, unless references are taken on these explicitly. * When no such reference exists, no signals may be received for these child - * nodes (see reference couting rule number 3 in the #GtkTreeModel section). + * nodes (see reference counting rule number 3 in the #GtkTreeModel section). * * Determining the visibility state of a given node based on the state * of its child nodes is a frequently occurring use case. Therefore, diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c index 347fd68346..aac3ae5ad3 100644 --- a/gtk/gtktreestore.c +++ b/gtk/gtktreestore.c @@ -35,7 +35,7 @@ * @See_also: #GtkTreeModel * * The #GtkTreeStore object is a list model for use with a #GtkTreeView - * widget. It implements the #GtkTreeModel interface, and consequentially, + * widget. It implements the #GtkTreeModel interface, and consequently, * can use all of the methods available there. It also implements the * #GtkTreeSortable interface so it can be sorted by the view. Finally, * it also implements the tree @@ -2393,7 +2393,7 @@ gtk_tree_store_swap (GtkTreeStore *tree_store, b_prev = node_b->prev; b_next = node_b->next; - /* fix up links if the nodes are next to eachother */ + /* fix up links if the nodes are next to each other */ if (a_prev == node_b) a_prev = node_a; if (a_next == node_b) diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 6e7de301cd..e9f6c12327 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -5442,8 +5442,8 @@ gtk_tree_view_forward_controller_key_pressed (GtkEventControllerKey *key, /* Initially, before the search window is visible, we pass the event to the * IM context of the search entry box. If it triggers a commit or a preedit, - * we then show the search window without loosing tree view focus. - * If the seach window is already visible, we forward the events to it, + * we then show the search window without losing tree view focus. + * If the search window is already visible, we forward the events to it, * keeping the focus on the tree view. */ if (gtk_widget_has_focus (GTK_WIDGET (tree_view)) @@ -8328,7 +8328,7 @@ gtk_tree_view_row_deleted (GtkTreeModel *model, /* Ensure we don't have a dangling pointer to a dead node */ ensure_unprelighted (tree_view); - /* Cancel editting if we've started */ + /* Cancel editing if we've started */ gtk_tree_view_stop_editing (tree_view, TRUE); /* If the cursor row got deleted, move the cursor to the next row */ diff --git a/gtk/gtktreeviewcolumn.h b/gtk/gtktreeviewcolumn.h index 6cbe42dbe1..6c83cdbc66 100644 --- a/gtk/gtktreeviewcolumn.h +++ b/gtk/gtktreeviewcolumn.h @@ -40,7 +40,7 @@ typedef struct _GtkTreeViewColumn GtkTreeViewColumn; /** * GtkTreeViewColumnSizing: * @GTK_TREE_VIEW_COLUMN_GROW_ONLY: Columns only get bigger in reaction to changes in the model - * @GTK_TREE_VIEW_COLUMN_AUTOSIZE: Columns resize to be the optimal size everytime the model changes. + * @GTK_TREE_VIEW_COLUMN_AUTOSIZE: Columns resize to be the optimal size every time the model changes. * @GTK_TREE_VIEW_COLUMN_FIXED: Columns are a fixed numbers of pixels wide. * * The sizing method the column uses to determine its width. Please note diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 771bae0841..2f474bd4bf 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -9393,7 +9393,7 @@ gtk_widget_do_pick (GtkWidget *widget, * Widgets are however free to customize their picking algorithm. * * This function is used on the toplevel to determine the widget below - * the mouse cursor for purposes of hover hilighting and delivering events. + * the mouse cursor for purposes of hover highlighting and delivering events. * * Returns: (nullable) (transfer none): The widget descendant at the given * coordinate or %NULL if none. diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 5807205741..2f4d4ddab1 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -3548,7 +3548,7 @@ gtk_window_resize (GtkWindow *window, * excluding the widgets used in client side decorations; there is, * however, no guarantee that the result will be completely accurate * because client side decoration may include widgets that depend on - * the user preferences and that may not be visibile at the time you + * the user preferences and that may not be visible at the time you * call this function. * * The dimensions returned by this function are suitable for being diff --git a/gtk/inspector/inspect-button.c b/gtk/inspector/inspect-button.c index e4006c36c3..1f91f67c2b 100644 --- a/gtk/inspector/inspect-button.c +++ b/gtk/inspector/inspect-button.c @@ -151,7 +151,7 @@ handle_event (GtkInspectorWindow *iw, GdkEvent *event) if (gtk_widget_get_root (widget) == GTK_ROOT (iw)) { - /* Don't hilight things in the inspector window */ + /* Don't highlight things in the inspector window */ break; } diff --git a/gtk/roaring/roaring.c b/gtk/roaring/roaring.c index d71ba88378..84a89e3fea 100644 --- a/gtk/roaring/roaring.c +++ b/gtk/roaring/roaring.c @@ -548,7 +548,7 @@ int32_t difference_vector16(const uint16_t *__restrict__ A, size_t s_a, return (int32_t)s_a; } // handle the leading zeroes, it is messy but it allows us to use the fast - // _mm_cmpistrm instrinsic safely + // _mm_cmpistrm intrinsic safely int32_t count = 0; if ((A[0] == 0) || (B[0] == 0)) { if ((A[0] == 0) && (B[0] == 0)) { @@ -4255,7 +4255,7 @@ void *container_clone(const void *container, uint8_t typecode) { case RUN_CONTAINER_TYPE_CODE: return run_container_clone((const run_container_t *)container); case SHARED_CONTAINER_TYPE_CODE: - printf("shared containers are not cloneable\n"); + printf("shared containers are not clonable\n"); assert(false); return NULL; default: @@ -5212,10 +5212,10 @@ void array_bitset_container_intersection(const array_container_t *src_1, * if (bitset_container_contains(src_2, key)) { * dst->array[newcard++] = key; * } - * but if the result is unpredictible, the processor generates + * but if the result is unpredictable, the processor generates * many mispredicted branches. - * Difference can be huge (from 3 cycles when predictible all the way - * to 16 cycles when unpredictible. + * Difference can be huge (from 3 cycles when predictable all the way + * to 16 cycles when unpredictable. * See * https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/blob/master/extra/bitset/c/arraybitsetintersection.c */ @@ -10121,7 +10121,7 @@ bool roaring_bitmap_is_strict_subset(const roaring_bitmap_t *ra1, * all containers of respective type. * * <*_data> and <keys> are kept close together because they are not accessed - * during deserilization. This may reduce IO in case of large mmaped bitmaps. + * during deserilization. This may reduce IO in case of large mapped bitmaps. * All members have their native alignments during deserilization except <header>, * which is not guaranteed to be aligned by 4 bytes. */ diff --git a/gtk/roaring/roaring.h b/gtk/roaring/roaring.h index db04db5ae6..b3dc60de90 100644 --- a/gtk/roaring/roaring.h +++ b/gtk/roaring/roaring.h @@ -2706,8 +2706,8 @@ void run_container_smart_append_exclusive(run_container_t *src, /** * The new container consists of a single run [start,stop). -* It is required that stop>start, the caller is responsability for this check. -* It is required that stop <= (1<<16), the caller is responsability for this check. +* It is required that stop>start, the caller is responsibility for this check. +* It is required that stop <= (1<<16), the caller is responsibility for this check. * The cardinality of the created container is stop - start. * Returns NULL on failure */ @@ -2921,7 +2921,7 @@ void *convert_run_optimize(void *c, uint8_t typecode_original, */ /* If a conversion occurs, the caller is responsible to free the original * container and - * he becomes reponsible to free the new one. */ + * he becomes responsible to free the new one. */ void *convert_run_to_efficient_container(run_container_t *c, uint8_t *typecode_after); // like convert_run_to_efficient_container but frees the old result if needed @@ -3732,7 +3732,7 @@ static inline uint8_t get_container_type(const void *container, uint8_t type) { /** * Copies a container, requires a typecode. This allocates new memory, caller * is responsible for deallocation. If the container is not shared, then it is - * physically cloned. Sharable containers are not cloneable. + * physically cloned. Shareable containers are not clonable. */ void *container_clone(const void *container, uint8_t typecode); diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 5b3f58d013..0264c0bbbb 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -42,7 +42,7 @@ dnd { These wildcard seems unavoidable, need to investigate. Wildcards are bad and troublesome, use them with care, or better, just don't. - Everytime a wildcard is used a kitten dies, painfully. + Every time a wildcard is used a kitten dies, painfully. */ spinner:disabled, @@ -489,7 +489,7 @@ button { @at-root %button_basic_flat, &.flat { @include button(undecorated); - // to avoid adiacent buttons borders clashing when transitioning, the transition on the normal state is set + // to avoid adjacent buttons borders clashing when transitioning, the transition on the normal state is set // to none, while it's added back in the hover state, so the button decoration will fade in on hover, but // it won't fade out when the pointer leave the button allocation area. To make the transition more evident // in this case the duration is increased. @@ -777,7 +777,7 @@ button { } %needs_attention { - // the dot is drawn by using two radial gradient, the first one is the actuall dot, the other + // the dot is drawn by using two radial gradient, the first one is the actual dot, the other // simulates the shadow labels and icons normally have in buttons. animation: needs_attention 150ms ease-in; @@ -2712,7 +2712,7 @@ scale { } > trough > slider { - &:dir(ltr), &:dir(rtl) { // specificity bumb + &:dir(ltr), &:dir(rtl) { // specificity bump &:hover, &:backdrop, &:disabled, &:backdrop:disabled, & { margin-bottom: -15px; margin-top: 6px; @@ -3528,7 +3528,7 @@ paned { -gtk-icon-source: none; // defeats the ugly default handle decoration border-style: none; // just to be sure background-color: transparent; - // workaround, using background istead of a border since the border will get rendered twice (?) + // workaround, using background instead of a border since the border will get rendered twice (?) background-image: image($borders_color); background-size: 1px 1px; @@ -3630,7 +3630,7 @@ tooltip { // see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details. background-color: transparentize(black, 0.2); background-clip: padding-box; - border: 1px solid $tooltip_borders_color; // this suble border is meant to + border: 1px solid $tooltip_borders_color; // this subtle border is meant to // not make the tooltip melt with // very dark backgrounds color: white; diff --git a/gtk/theme/Adwaita/_drawing.scss b/gtk/theme/Adwaita/_drawing.scss index ef4ea6abd5..c4603efde7 100644 --- a/gtk/theme/Adwaita/_drawing.scss +++ b/gtk/theme/Adwaita/_drawing.scss @@ -134,7 +134,7 @@ @function _button_hilight_color($c) { // -// calculate the right top hilight color for buttons +// calculate the right top highlight color for buttons // // $c: base color; // @@ -163,7 +163,7 @@ // backdrop, backdrop-active, backdrop-insensitive, backdrop-insensitive-active, // osd, osd-hover, osd-active, osd-insensitive, osd-backdrop, undecorated // -// This mixin sets the $button_fill global variable which containts the button background-image +// This mixin sets the $button_fill global variable which contains the button background-image // $_hilight_color: _button_hilight_color($c); $_button_edge: if($edge == none, none, _widget_edge($edge)); @@ -1,6 +1,6 @@ #! /bin/bash -# This script extracts the typical xgettext invokation out of +# This script extracts the typical xgettext invocation out of # po/Makefile.in.in, in order for it to be available as a shell # command without the need to autogen first. This is needed for # translation tools such as the damn lies website. diff --git a/meson.build b/meson.build index d193835a75..8678e042c9 100644 --- a/meson.build +++ b/meson.build @@ -439,7 +439,7 @@ endif cairo_libs = [] if cc.get_id() == 'msvc' - # Fallback depedency discovery for those on Visual Studio that do not generate + # Fallback dependency discovery for those on Visual Studio that do not generate # pkg-config files in their build systems for MSVC # Fallback for Cairo if not cairo_dep.found() diff --git a/modules/printbackends/gtkcupssecretsutils.c b/modules/printbackends/gtkcupssecretsutils.c index f5e328fa78..47e707b114 100644 --- a/modules/printbackends/gtkcupssecretsutils.c +++ b/modules/printbackends/gtkcupssecretsutils.c @@ -231,7 +231,7 @@ fail: required_len = g_strv_length (task_data->auth_info_required); for (i = 0; i < required_len; i++) { - /* Not all fields of auth_info are neccessarily written so we can not + /* Not all fields of auth_info are necessarily written so we can not use strfreev here */ g_free (auth_info[i]); } @@ -402,7 +402,7 @@ prompt_completed_cb (GDBusConnection *connection, return; } - /* Prompt successfull, proceed to get or store secret */ + /* Prompt successful, proceed to get or store secret */ switch (task_data->action) { case SECRETS_SERVICE_ACTION_STORE: @@ -512,7 +512,7 @@ unlock_collection_cb (GObject *source_object, break; case SECRETS_SERVICE_ACTION_QUERY: - /* Prompt successfull proceed to get secret */ + /* Prompt successful proceed to get secret */ g_dbus_proxy_call (task_data->item_proxy, "GetSecret", g_variant_new ("(o)", diff --git a/modules/printbackends/gtkcupsutils.h b/modules/printbackends/gtkcupsutils.h index 5ed7b9aaa0..d14f9398d4 100644 --- a/modules/printbackends/gtkcupsutils.h +++ b/modules/printbackends/gtkcupsutils.h @@ -48,7 +48,7 @@ typedef enum /** * Direction we should be polling the http socket on. - * We are either reading or writting at each state. + * We are either reading or writing at each state. * This makes it easy for mainloops to connect to poll. */ typedef enum diff --git a/modules/printbackends/gtkprintbackendcups.c b/modules/printbackends/gtkprintbackendcups.c index c3ba93e639..982f1c0a6c 100644 --- a/modules/printbackends/gtkprintbackendcups.c +++ b/modules/printbackends/gtkprintbackendcups.c @@ -2902,7 +2902,7 @@ find_printer_by_uuid (GtkPrintBackendCups *backend, } /* - * Create new GtkPrinter from informations included in TXT records. + * Create new GtkPrinter from information included in TXT records. */ static void create_cups_printer_from_avahi_data (AvahiConnectionTestData *data) diff --git a/modules/printbackends/gtkprintbackendfile.c b/modules/printbackends/gtkprintbackendfile.c index cb93537884..94718820c4 100644 --- a/modules/printbackends/gtkprintbackendfile.c +++ b/modules/printbackends/gtkprintbackendfile.c @@ -283,7 +283,7 @@ _cairo_write (void *closure, error = NULL; GTK_NOTE (PRINTING, - g_print ("FILE Backend: Writting %u byte chunk to temp file\n", length)); + g_print ("FILE Backend: Writing %u byte chunk to temp file\n", length)); while (length > 0) { @@ -296,7 +296,7 @@ _cairo_write (void *closure, if (error != NULL) { GTK_NOTE (PRINTING, - g_print ("FILE Backend: Error writting to temp file, %s\n", error->message)); + g_print ("FILE Backend: Error writing to temp file, %s\n", error->message)); g_error_free (error); } @@ -446,7 +446,7 @@ file_write (GIOChannel *source, } GTK_NOTE (PRINTING, - g_print ("FILE Backend: Writting %"G_GSIZE_FORMAT" byte chunk to target file\n", bytes_read)); + g_print ("FILE Backend: Writing %"G_GSIZE_FORMAT" byte chunk to target file\n", bytes_read)); return TRUE; } diff --git a/modules/printbackends/gtkprintbackendlpr.c b/modules/printbackends/gtkprintbackendlpr.c index 8fba9b71fd..ac30d93231 100644 --- a/modules/printbackends/gtkprintbackendlpr.c +++ b/modules/printbackends/gtkprintbackendlpr.c @@ -156,7 +156,7 @@ _cairo_write (void *closure, error = NULL; GTK_NOTE (PRINTING, - g_print ("LPR Backend: Writting %i byte chunk to temp file\n", length)); + g_print ("LPR Backend: Writing %i byte chunk to temp file\n", length)); while (length > 0) { @@ -165,7 +165,7 @@ _cairo_write (void *closure, if (error != NULL) { GTK_NOTE (PRINTING, - g_print ("LPR Backend: Error writting to temp file, %s\n", error->message)); + g_print ("LPR Backend: Error writing to temp file, %s\n", error->message)); g_error_free (error); return CAIRO_STATUS_WRITE_ERROR; @@ -284,7 +284,7 @@ lpr_write (GIOChannel *source, } GTK_NOTE (PRINTING, - g_print ("LPR Backend: Writting %" G_GSIZE_FORMAT " byte chunk to lpr pipe\n", bytes_read)); + g_print ("LPR Backend: Writing %" G_GSIZE_FORMAT " byte chunk to lpr pipe\n", bytes_read)); return TRUE; diff --git a/tests/gtkgears.c b/tests/gtkgears.c index 96be865b86..5f5686c883 100644 --- a/tests/gtkgears.c +++ b/tests/gtkgears.c @@ -305,7 +305,7 @@ create_gear (GLfloat inner_radius, /* Create the 7 points (only x,y coords) used to draw a tooth */ struct point p[7]; - /* Calculate needed sin/cos for varius angles */ + /* Calculate needed sin/cos for various angles */ sincos(i * 2.0 * G_PI / teeth + da * 0, &s[0], &c[0]); sincos(i * 2.0 * M_PI / teeth + da * 1, &s[1], &c[1]); sincos(i * 2.0 * M_PI / teeth + da * 2, &s[2], &c[2]); @@ -800,7 +800,7 @@ gtk_gears_realize (GtkWidget *widget) priv->LightSourcePosition_location = glGetUniformLocation(program, "LightSourcePosition"); priv->MaterialColor_location = glGetUniformLocation(program, "MaterialColor"); - /* Set the LightSourcePosition uniform which is constant throught the program */ + /* Set the LightSourcePosition uniform which is constant throughout the program */ glUniform4fv(priv->LightSourcePosition_location, 1, priv->LightSourcePosition); /* make the gears */ diff --git a/tests/testcellarea.c b/tests/testcellarea.c index c86eb75276..7fdc444ac5 100644 --- a/tests/testcellarea.c +++ b/tests/testcellarea.c @@ -508,7 +508,7 @@ background_area (void) gtk_window_set_title (GTK_WINDOW (window), "Background Area"); - label = gtk_label_new ("In this example, row spacing gets devided into the background area, " + label = gtk_label_new ("In this example, row spacing gets divided into the background area, " "column spacing is added between each background area, item_padding is " "prepended space distributed to the background area."); gtk_label_set_wrap (GTK_LABEL (label), TRUE); diff --git a/tests/testinhibitshortcuts.c b/tests/testinhibitshortcuts.c index 967a3f0ed5..caecf43751 100644 --- a/tests/testinhibitshortcuts.c +++ b/tests/testinhibitshortcuts.c @@ -87,7 +87,7 @@ main (int argc, char *argv[]) gtk_widget_set_vexpand (text_view, TRUE); gtk_box_append (GTK_BOX (vbox), text_view); - button = gtk_check_button_new_with_label ("Inhibit system keyboard shorcuts"); + button = gtk_check_button_new_with_label ("Inhibit system keyboard shortcuts"); gtk_box_append (GTK_BOX (vbox), button); g_signal_connect (G_OBJECT (button), "toggled", diff --git a/tests/testverticalcells.c b/tests/testverticalcells.c index b5487a26d9..51df9c1e5c 100644 --- a/tests/testverticalcells.c +++ b/tests/testverticalcells.c @@ -108,7 +108,7 @@ static TreeEntry other_entries[] = { { "zoom-fit-best", - "Thats the\n" + "That's the\n" "perfect fit", "Now fitting foo into bar using frobnicator", "using his nifty wide angle lense, he was able to catch a 'dark salmon', it was no flying pig " @@ -121,7 +121,7 @@ static TreeEntry other_entries[] = "format-text-underline", "Under the\n" "line", - "Now underlining that this demo would look alot niftier with some real content", + "Now underlining that this demo would look a lot niftier with some real content", "it was indeed strange to catch a red salmon while fishing for pigs in the deep sky blue.", "deep sky blue", 99, @@ -204,7 +204,7 @@ static TreeEntry main_entries[] = "folder", "The directory", "Currently scanning your directories.", - "jill didnt know what to make of the barking pigs either so she fed him sleeping pills", + "jill didn't know what to make of the barking pigs either so she fed him sleeping pills", "brown", 20, directory_entries @@ -214,7 +214,7 @@ static TreeEntry main_entries[] = "Now deleting\n" "the whole thing", "Time to delete the sucker", - "and he decided to just delete the whole conversation since it didnt make sense to him", + "and he decided to just delete the whole conversation since it didn't make sense to him", "dark orange", 26, NULL diff --git a/testsuite/gtk/filter.c b/testsuite/gtk/filter.c index 087a9844c2..921ce988b1 100644 --- a/testsuite/gtk/filter.c +++ b/testsuite/gtk/filter.c @@ -70,7 +70,7 @@ append_below_thousand (GString *s, if (n >= 20) { - const char *names[10] = { NULL, NULL, "twenty", "thirty", "fourty", "fifty", "sixty", "seventy", "eighty", "ninety" }; + const char *names[10] = { NULL, NULL, "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety" }; if (s->len) g_string_append_c (s, ' '); g_string_append (s, names [n / 10]); diff --git a/testsuite/gtk/sorter.c b/testsuite/gtk/sorter.c index ddd17d8baf..e7a299dfcb 100644 --- a/testsuite/gtk/sorter.c +++ b/testsuite/gtk/sorter.c @@ -83,7 +83,7 @@ append_below_thousand (GString *s, if (n >= 20) { - const char *names[10] = { NULL, NULL, "twenty", "thirty", "fourty", "fifty", "sixty", "seventy", "eighty", "ninety" }; + const char *names[10] = { NULL, NULL, "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety" }; if (s->len) g_string_append_c (s, ' '); g_string_append (s, names [n / 10]); diff --git a/testsuite/reftests/README b/testsuite/reftests/README index 62ef44cc3a..da26c2c0e1 100644 --- a/testsuite/reftests/README +++ b/testsuite/reftests/README @@ -19,7 +19,7 @@ In detail, for every provided TESTFILE the test runner will: 4) gtk_widget_show() it and take a snapshot image of its contents into a cairo surface. 5) Compare the two images to be bitwise identical. If they are not, a - diff image will be created hilighting the differences. + diff image will be created highlighting the differences. 6) Save the images as png files to the output directory named: - test.out.png (rendering of test.ui) - test.ref.png (rendering of test.ref.ui) diff --git a/testsuite/reftests/bad-color-names.css b/testsuite/reftests/bad-color-names.css index e87583fd8b..6d9870a778 100644 --- a/testsuite/reftests/bad-color-names.css +++ b/testsuite/reftests/bad-color-names.css @@ -1,4 +1,4 @@ -@define-color nonexistant @idonotexist; +@define-color nonexistent @idonotexist; @define-color self @self; @@ -7,5 +7,5 @@ @define-color cycle2 @cycle1; .background { - background: linear-gradient(to bottom, @nonexistant, @self, @cycle, @undefinedcolor); + background: linear-gradient(to bottom, @nonexistent, @self, @cycle, @undefinedcolor); } diff --git a/testsuite/reftests/border-color-default.css b/testsuite/reftests/border-color-default.css index 6c64119b3c..e29978a270 100644 --- a/testsuite/reftests/border-color-default.css +++ b/testsuite/reftests/border-color-default.css @@ -5,7 +5,7 @@ } button { - /* using a nonexistant color because that will lead to the default value */ + /* using a nonexistent color because that will lead to the default value */ border-color: @doesnotexist; color: purple; } diff --git a/testsuite/reftests/linear-gradient.css b/testsuite/reftests/linear-gradient.css index ccb50d6f2d..79093c5ee3 100644 --- a/testsuite/reftests/linear-gradient.css +++ b/testsuite/reftests/linear-gradient.css @@ -1,6 +1,6 @@ @import url("reset-to-defaults.css"); -/* One caveat that apply to cairo gradients, and make things therefor +/* One caveat that apply to cairo gradients, and make things therefore * untestable: * The start and end points must be identical when drawing * This means that you cannot: diff --git a/testsuite/reftests/unresolvable.css b/testsuite/reftests/unresolvable.css index 79c48b0c9c..d0693073da 100644 --- a/testsuite/reftests/unresolvable.css +++ b/testsuite/reftests/unresolvable.css @@ -6,7 +6,7 @@ window { box { background-color: @doesntexist; - box-shadow: @nonexistant 5px 5px; + box-shadow: @nonexistent 5px 5px; border-image: linear-gradient(to top, @notaavailable, @whatever); } |