Merge branch 'ccook/doc-changes-1' into 'main'

Various spelling mistakes across a few domains that show up in documentation.

See merge request GNOME/gtk!5370
This commit is contained in:
Matthias Clasen 2022-12-24 12:52:19 +00:00
commit fce4810fb4
7 changed files with 7 additions and 8 deletions

View File

@ -454,7 +454,7 @@ gtk_aspect_frame_get_ratio (GtkAspectFrame *self)
* gtk_aspect_frame_set_obey_child: (attributes org.gtk.Method.set_propery=obey-child)
* @self: a `GtkAspectFrame`
* @obey_child: If %TRUE, @ratio is ignored, and the aspect
* ratio is taken from the requistion of the child.
* ratio is taken from the requisition of the child.
*
* Sets whether the aspect ratio of the child's size
* request should override the set aspect ratio of

View File

@ -2497,7 +2497,7 @@ gtk_paned_toggle_handle_focus (GtkPaned *paned)
}
/**
* gtk_paned_set_wide_handle: (attributes org.gtk.Method.set_propery=wide-handle)
* gtk_paned_set_wide_handle: (attributes org.gtk.Method.set_property=wide-handle)
* @paned: a `GtkPaned`
* @wide: the new value for the [property@Gtk.Paned:wide-handle] property
*

View File

@ -2487,7 +2487,7 @@ gtk_popover_set_offset (GtkPopover *popover,
* @x_offset: (out) (nullable): a location for the x_offset
* @y_offset: (out) (nullable): a location for the y_offset
*
* Gets the offset previous set with gtk_popover_set_offset().
* Gets the offset previous set with [method@Gtk.Popover.set_offset()].
*/
void
gtk_popover_get_offset (GtkPopover *popover,

View File

@ -856,7 +856,7 @@ gtk_popover_menu_add_child (GtkPopoverMenu *popover,
* @child: the `GtkWidget` to remove
*
* Removes a widget that has previously been added with
* gtk_popover_menu_add_child().
* [method@Gtk.PopoverMenu.add_child()]
*
* Returns: %TRUE if the widget was removed
*/

View File

@ -73,7 +73,7 @@
* just add any child widget and not worry about the details.
*
* If [method@Gtk.ScrolledWindow.set_child] has added a `GtkViewport` for you,
* it will be automatically removed hen you unset the child.
* it will be automatically removed when you unset the child.
* Unless [property@Gtk.ScrolledWindow:hscrollbar-policy] and
* [property@Gtk.ScrolledWindow:vscrollbar-policy] are %GTK_POLICY_NEVER or
* %GTK_POLICY_EXTERNAL, `GtkScrolledWindow` adds internal `GtkScrollbar` widgets
@ -127,7 +127,6 @@
* `GtkScrolledWindow` uses the %GTK_ACCESSIBLE_ROLE_GROUP role.
*/
/* scrolled window policy and size requisition handling:
*
* gtk size requisition works as follows:

View File

@ -422,7 +422,7 @@ gtk_search_bar_set_entry (GtkSearchBar *bar,
* @bar: a `GtkSearchBar`
* @entry: a `GtkEditable`
*
* Connects the `GtkEditable widget passed as the one to be used in
* Connects the `GtkEditable` widget passed as the one to be used in
* this search bar.
*
* The entry should be a descendant of the search bar. Calling this

View File

@ -313,7 +313,7 @@ gtk_selection_model_get_selection (GtkSelectionModel *model)
/**
* gtk_selection_model_get_selection_in_range:
* @model: a `GtkSelectionModel`
* @position: start of the queired range
* @position: start of the queried range
* @n_items: number of items in the queried range
*
* Gets the set of selected items in a range.