Documentation fix: Various spelling mistakes (and one use of the wrong verb) across a few domains that show up in documentation.

| 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)" |
This commit is contained in:
Cam Cook
2022-11-13 11:55:05 -05:00
parent 2daea9e459
commit d1bb927286
6 changed files with 11 additions and 11 deletions

View 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,

View 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,

View 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
*

View 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
*/
/**

View 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

View File

@@ -5286,7 +5286,7 @@ gtk_window_present_with_time (GtkWindow *window,
*
* Note that you shouldnt 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 isnt possible, etc.
*
@@ -5318,7 +5318,7 @@ gtk_window_minimize (GtkWindow *window)
*
* Note that you shouldnt 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 isnt possible, etc.
*
@@ -5345,7 +5345,7 @@ gtk_window_unminimize (GtkWindow *window)
* Asks to maximize @window, so that it fills the screen.
*
* Note that you shouldnt 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 shouldnt 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 shouldnt 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 shouldnt 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 dont
* write code that crashes if not.