switch: Fix CSS nodes documentation

A switch contains two GtkImage's whose nodes are named 'image',
not 'label'.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
Sergey Bugaev
2023-09-14 19:09:20 +03:00
committed by Matthias Clasen
parent 86d2bf746c
commit 2873d7e046

View File

@@ -47,13 +47,13 @@
*
* ```
* 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