docs: Cosmetics
authorMatthias Clasen <mclasen@redhat.com>
Sun, 17 Oct 2021 20:05:35 +0000 (22:05 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 18 Oct 2021 12:35:54 +0000 (08:35 -0400)
Do a round of "the the" removal.

gdk/gdkdevice.c
gdk/gdkglcontext.c
gdk/gdkvulkancontext.c
gdk/macos/gdkmacoseventsource.c
gdk/wayland/gdkdisplay-wayland.c
gdk/win32/gdksurface-win32.h
gsk/gskglshader.c
gtk/gtkrecentmanager.c
gtk/gtksnapshot.c

index 9f69b189d5f9b9bc81a6ae2349532a15b27d15ec..461008f30cbededfda4881794ec596023881d302 100644 (file)
@@ -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
index 640c8bf1fce52b758088d6f9ea46a569fbef3520..69f46d09a88b34d13520f86310052a3d3d3f1c60 100644 (file)
@@ -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
index 20c1860645376181a710a694f08b387fa1ff6e98..1f464cea95afecbe2eab7df1026e153bc07f6286 100644 (file)
@@ -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.
index 4ba14f26e4951a77d8f4d78a3b7ea1dc50be4506..f32bd33336713e12827da9f229e9d8e86d34931f 100644 (file)
@@ -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 ();
 
index 4f70a3c833c428300b3e24ee3da7c581e20a0faf..65c1a55758a73aef8e46d89d42a826b67d404964 100644 (file)
@@ -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
index 293e58d4fccf382849ac4016861343a215cc4154..fb2ab6456db04ff55a2690951c241c17a673b57d 100644 (file)
@@ -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;
index 9394c278cc9c4052a7513bc6786a562160825687..9c3d728c672f6a7e0656e01b5a22bafedb8e8d20 100644 (file)
@@ -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:
  *
index 2b84c0363453244ab205209651062c6f9373ee93..32dd595beb28260061a65490584df444b3066fb4 100644 (file)
@@ -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
index 8b8627fb92752b9e9a74e7c93f00c3a0788dbd20..9d7ac6b621d5a3b0b05c13330155790af77111c0 100644 (file)
@@ -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.
  *