Documentation fix: Various spelling mistakes (and one use of the wrong verb) across...
authorCam Cook <cam.cook@linux.com>
Sun, 13 Nov 2022 16:55:05 +0000 (11:55 -0500)
committerCam Cook <cam.cook@linux.com>
Sun, 13 Nov 2022 16:55:05 +0000 (11:55 -0500)
| domain | current | suggestion |
|--------|---------|------------|
| [GtkButton](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkbutton.c#L691)       | "Buttons can has a flat appearance" | "Buttons can have a flat appearance" |
| [GtkCenterBox](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkcenterbox.c#L275) | "pas %NULL" | "pass %NULL" |
| [GtkEditable](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkeditable.c#L466)   | "the text to append" | "the text to insert" |
| [GtkFlowbox](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkflowbox.c#L4921)    | "the are equal" | "they are equal" |
| [GtkSelectionModel](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkselectionmodel.c#L550) | "Call this when a the selection changes" | "Call this when a selection changes" |
| [GtkWIndow](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkwindow.c#L5321)                | "(e.g. the user or the window manager" | "(e.g. the user or the window manager)" |

gtk/gtkbutton.c
gtk/gtkcenterbox.c
gtk/gtkeditable.c
gtk/gtkflowbox.c
gtk/gtkselectionmodel.c
gtk/gtkwindow.c

index 65df53cc70a387441b665fa0abc022ff507e9598..2f98e70de4336e74c5f18a9f4ab371b0f3a704c9 100644 (file)
@@ -688,7 +688,7 @@ gtk_button_new_with_mnemonic (const char *label)
  *
  * Sets the style of the button.
  *
- * Buttons can has a flat appearance or have a frame drawn around them.
+ * Buttons can have a flat appearance or have a frame drawn around them.
  */
 void
 gtk_button_set_has_frame (GtkButton *button,
index 9730f28e6ed354126ee234d0687cd785e407d92b..fe56467faee1617c078f6157c9d723eca3becc48 100644 (file)
@@ -272,7 +272,7 @@ gtk_center_box_set_start_widget (GtkCenterBox *self,
  *
  * Sets the center widget.
  *
- * To remove the existing center widget, pas %NULL.
+ * To remove the existing center widget, pass %NULL.
  */
 void
 gtk_center_box_set_center_widget (GtkCenterBox *self,
index 8818bcdd4d4483d52b76670437a1851810632cc3..a43e34550a0856d5e38955c183ac8edd61f9d5af 100644 (file)
@@ -463,7 +463,7 @@ gtk_editable_default_init (GtkEditableInterface *iface)
 /**
  * gtk_editable_insert_text: (virtual do_insert_text)
  * @editable: a `GtkEditable`
- * @text: the text to append
+ * @text: the text to insert
  * @length: the length of the text in bytes, or -1
  * @position: (inout): location of the position text will be inserted at
  *
index b9a8c8efb5dc61c0aab2591822759b4d61782ea8..b7252ba1a2ce1071d638936e13c1684cece39d52 100644 (file)
@@ -4918,7 +4918,7 @@ gtk_flow_box_invalidate_filter (GtkFlowBox *box)
  * should come first.
  *
  * Returns: < 0 if @child1 should be before @child2, 0 if
- *   the are equal, and > 0 otherwise
+ *   they are equal, and > 0 otherwise
  */
 
 /**
index 7c93c2b4e72467c16d784362d19c679fb630b7b3..ac06f7975e11111db63be9c12779e3dde8a41404 100644 (file)
@@ -547,7 +547,7 @@ gtk_selection_model_set_selection (GtkSelectionModel *model,
  *
  * Helper function for implementations of `GtkSelectionModel`.
  *
- * Call this when a the selection changes to emit the
+ * Call this when a selection changes to emit the
  * [signal@Gtk.SelectionModel::selection-changed] signal.
  */
 void
index 6ef931a719b246cd0f109f3869f7af1ae7abe889..5318dd364702ec97940987a5ca5e7396e7698208 100644 (file)
@@ -5286,7 +5286,7 @@ gtk_window_present_with_time (GtkWindow *window,
  *
  * Note that you shouldn’t assume the window is definitely minimized
  * afterward, because the windowing system might not support this
- * functionality; other entities (e.g. the user or the window manager
+ * functionality; other entities (e.g. the user or the window manager)
  * could unminimize it again, or there may not be a window manager in
  * which case minimization isn’t possible, etc.
  *
@@ -5318,7 +5318,7 @@ gtk_window_minimize (GtkWindow *window)
  *
  * Note that you shouldn’t assume the window is definitely unminimized
  * afterward, because the windowing system might not support this
- * functionality; other entities (e.g. the user or the window manager
+ * functionality; other entities (e.g. the user or the window manager)
  * could minimize it again, or there may not be a window manager in
  * which case minimization isn’t possible, etc.
  *
@@ -5345,7 +5345,7 @@ gtk_window_unminimize (GtkWindow *window)
  * Asks to maximize @window, so that it fills the screen.
  *
  * Note that you shouldn’t assume the window is definitely maximized
- * afterward, because other entities (e.g. the user or window manager
+ * afterward, because other entities (e.g. the user or window manager)
  * could unmaximize it again, and not all window managers support
  * maximization.
  *
@@ -5387,7 +5387,7 @@ gtk_window_maximize (GtkWindow *window)
  * Asks to unmaximize @window.
  *
  * Note that you shouldn’t assume the window is definitely unmaximized
- * afterward, because other entities (e.g. the user or window manager
+ * afterward, because other entities (e.g. the user or window manager)
  * maximize it again, and not all window managers honor requests to
  * unmaximize.
  *
@@ -5437,7 +5437,7 @@ unset_fullscreen_monitor (GtkWindow *window)
  * Asks to place @window in the fullscreen state.
  *
  * Note that you shouldn’t assume the window is definitely fullscreen
- * afterward, because other entities (e.g. the user or window manager
+ * afterward, because other entities (e.g. the user or window manager)
  * unfullscreen it again, and not all window managers honor requests
  * to fullscreen windows.
  *
@@ -5526,7 +5526,7 @@ gtk_window_fullscreen_on_monitor (GtkWindow  *window,
  *
  * Note that you shouldn’t assume the window is definitely not
  * fullscreen afterward, because other entities (e.g. the user or
- * window manager could fullscreen it again, and not all window
+ * window manager) could fullscreen it again, and not all window
  * managers honor requests to unfullscreen windows; normally the
  * window will end up restored to its normal state. Just don’t
  * write code that crashes if not.