Cosmetics
authorMatthias Clasen <mclasen@redhat.com>
Sat, 20 May 2023 22:50:30 +0000 (18:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 20 May 2023 23:03:41 +0000 (19:03 -0400)
Fix some typos.

gtk/gtklistitemmanager.c
gtk/gtklistitemmanagerprivate.h

index a8b12cef7fb11af41ffe8a3f24d5972f0790257e..62f2d54b44f9457f198e94eee7e6786fdafa13bf 100644 (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.
index ea855f4cc56008cd804f405690d72f216db8c5b1..596b3c9560f0a13aeb43fd9671a1694d7a9c9333 100644 (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;
 };