From 2873d7e0467da06dcac3f542dcdd0ff6e8193eef Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Thu, 14 Sep 2023 19:09:20 +0300 Subject: [PATCH] switch: Fix CSS nodes documentation A switch contains two GtkImage's whose nodes are named 'image', not 'label'. Signed-off-by: Sergey Bugaev --- gtk/gtkswitch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c index e4e36ddeb3..a20c7fea10 100644 --- a/gtk/gtkswitch.c +++ b/gtk/gtkswitch.c @@ -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 -- 2.30.2