switch: Fix CSS nodes documentation
authorSergey Bugaev <bugaevc@gmail.com>
Thu, 14 Sep 2023 16:09:20 +0000 (19:09 +0300)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 19 Sep 2023 20:32:27 +0000 (16:32 -0400)
A switch contains two GtkImage's whose nodes are named 'image',
not 'label'.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
gtk/gtkswitch.c

index e4e36ddeb34dfe569959ced4ae4cb278f4407210..a20c7fea1043a59d6e5e09a4ce19c719977ab61a 100644 (file)
  *
  * ```
  * switch
- * ├── label
- * ├── label
+ * ├── image
+ * ├── image
  * ╰── slider
  * ```
  *
  * `GtkSwitch` has four css nodes, the main node with the name switch and
- * subnodes for the slider and the on and off labels. Neither of them is
+ * subnodes for the slider and the on and off images. Neither of them is
  * using any style classes.
  *
  * # Accessibility