mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Merge branch 'ccook/doc-spelling-fixes' into 'main'
doc fix: various spelling mistakes corrected See merge request GNOME/gtk!5215
This commit is contained in:
commit
12a50735da
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -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
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -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 the selection changes to emit the
|
||||
* [signal@Gtk.SelectionModel::selection-changed] signal.
|
||||
*/
|
||||
void
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user