Cosmetics

Fix some typos.
This commit is contained in:
Matthias Clasen 2023-05-20 18:50:30 -04:00
parent 3beaf0962c
commit 833e1bdcf6
2 changed files with 3 additions and 4 deletions

View File

@ -568,8 +568,7 @@ gtk_list_tile_get_tile_at (GtkListItemManager *self,
* If multiple tiles have the same distance, the one closest to the start
* will be returned.
*
* Returns: (nullable): The tile nearest to (x, y) or NULL if there are no
* tile
* Returns: (nullable): The tile nearest to (x, y) or NULL if there are no tiles
**/
GtkListTile *
gtk_list_item_manager_get_nearest_tile (GtkListItemManager *self,
@ -1000,7 +999,7 @@ gtk_list_item_manager_merge_list_items (GtkListItemManager *self,
* Splits the given tile into two tiles. The original
* tile will remain with @n_items items, the remaining
* items will be given to the new tile, which will be
* nserted after the tile.
* inserted after the tile.
*
* It is not valid for either tile to have 0 items after
* the split.

View File

@ -59,7 +59,7 @@ struct _GtkListTile
GtkListTileType type;
GtkWidget *widget;
guint n_items;
/* area occupied by tile. May be empty if tile has no allcoation */
/* area occupied by tile. May be empty if tile has no allocation */
cairo_rectangle_int_t area;
};