[gtk/matthiasc/for-master: 3/3] docs: Cosmetics




commit f74fa1a5a6cbfc730853d7592471b446c3c733d6
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Oct 17 22:05:35 2021 +0200

    docs: Cosmetics
    
    Do a round of "the the" removal.

 gdk/gdkdevice.c                  | 2 +-
 gdk/gdkglcontext.c               | 2 +-
 gdk/gdkvulkancontext.c           | 2 +-
 gdk/macos/gdkmacoseventsource.c  | 2 +-
 gdk/wayland/gdkdisplay-wayland.c | 2 +-
 gdk/win32/gdksurface-win32.h     | 2 +-
 gsk/gskglshader.c                | 2 +-
 gtk/gtkrecentmanager.c           | 2 +-
 gtk/gtksnapshot.c                | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index 9f69b189d5..461008f30c 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -330,7 +330,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * GdkDevice::changed:
    * @device: the `GdkDevice`
    *
-   * Emitted either when the the number of either axes or keys changes.
+   * Emitted either when the number of either axes or keys changes.
    *
    * On X11 this will normally happen when the physical device
    * routing events through the logical device changes (for
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index 640c8bf1fc..69f46d09a8 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -26,7 +26,7 @@
  *
  * `GdkGLContext`s are created for a surface using
  * [method@Gdk.Surface.create_gl_context], and the context will match
- * the the characteristics of the surface.
+ * the characteristics of the surface.
  *
  * A `GdkGLContext` is not tied to any particular normal framebuffer.
  * For instance, it cannot draw to the surface back buffer. The GDK
diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c
index 20c1860645..1f464cea95 100644
--- a/gdk/gdkvulkancontext.c
+++ b/gdk/gdkvulkancontext.c
@@ -35,7 +35,7 @@
  *
  * `GdkVulkanContext`s are created for a surface using
  * [method@Gdk.Surface.create_vulkan_context], and the context will match
- * the the characteristics of the surface.
+ * the characteristics of the surface.
  *
  * Support for `GdkVulkanContext` is platform-specific and context creation
  * can fail, returning %NULL context.
diff --git a/gdk/macos/gdkmacoseventsource.c b/gdk/macos/gdkmacoseventsource.c
index 4ba14f26e4..f32bd33336 100644
--- a/gdk/macos/gdkmacoseventsource.c
+++ b/gdk/macos/gdkmacoseventsource.c
@@ -1076,7 +1076,7 @@ _gdk_macos_event_source_new (GdkMacosDisplay *display)
   event_source = (GdkMacosEventSource *)source;
   event_source->display = g_object_ref (GDK_DISPLAY (display));
 
-  /* Hook into the the CFRunLoop for the main thread */
+  /* Hook into the CFRunLoop for the main thread */
 
   main_thread_run_loop = CFRunLoopGetCurrent ();
 
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index 4f70a3c833..65c1a55758 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -2624,7 +2624,7 @@ gdk_wayland_display_get_output_scale (GdkWaylandDisplay *display_wayland,
  * @display: (type GdkWaylandDisplay): a `GdkDisplay`
  * @global: global interface to query in the registry
  *
- * Returns %TRUE if the the interface was found in the display
+ * Returns %TRUE if the interface was found in the display
  * `wl_registry.global` handler.
  *
  * Returns: %TRUE if the global is offered by the compositor
diff --git a/gdk/win32/gdksurface-win32.h b/gdk/win32/gdksurface-win32.h
index 293e58d4fc..fb2ab6456d 100644
--- a/gdk/win32/gdksurface-win32.h
+++ b/gdk/win32/gdksurface-win32.h
@@ -149,7 +149,7 @@ struct _GdkW32DragMoveResizeContext
    * that is being dragged. It indicates the shape the dragged window
    * will take if released at a particular point.
    * Indicator window size always matches the target indicator shape,
-   * the the actual indicator drawn on it might not, depending on
+   * the actual indicator drawn on it might not, depending on
    * how much time elapsed since the animation started.
    */
   HWND               shape_indicator;
diff --git a/gsk/gskglshader.c b/gsk/gskglshader.c
index 9394c278cc..9c3d728c67 100644
--- a/gsk/gskglshader.c
+++ b/gsk/gskglshader.c
@@ -96,7 +96,7 @@
  * uniform sampler2D u_texture2;
  * ```
  *
- * GTK uses the the "gsk" namespace in the symbols it uses in the
+ * GTK uses the "gsk" namespace in the symbols it uses in the
  * shader, so your code should not use any symbols with the prefix gsk
  * or GSK. There are some helper functions declared that you can use:
  *
diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c
index 2b84c03634..32dd595beb 100644
--- a/gtk/gtkrecentmanager.c
+++ b/gtk/gtkrecentmanager.c
@@ -1649,7 +1649,7 @@ gtk_recent_info_get_mime_type (GtkRecentInfo *info)
  * gtk_recent_info_get_added:
  * @info: a `GtkRecentInfo`
  *
- * Gets the the time when the resource
+ * Gets the time when the resource
  * was added to the recently used resources list.
  *
  * Returns: (transfer none): a `GDateTime` for the time
diff --git a/gtk/gtksnapshot.c b/gtk/gtksnapshot.c
index 8b8627fb92..9d7ac6b621 100644
--- a/gtk/gtksnapshot.c
+++ b/gtk/gtksnapshot.c
@@ -51,7 +51,7 @@
  * It functions in a similar way to a cairo context, and maintains a stack
  * of render nodes and their associated transformations.
  *
- * The node at the top of the stack is the the one that gtk_snapshot_append_…
+ * The node at the top of the stack is the one that gtk_snapshot_append_…
  * functions operate on. Use the gtk_snapshot_push_… functions and
  * gtk_snapshot_pop() to change the current node.
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]