From 95d2895a050cb0d015009239ac9d98fd60cc6295 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 31 Mar 2017 11:03:49 -0400 Subject: [PATCH] switch: Update css docs to reflect current reality This should have been done when the hierarchy was changed. --- gtk/gtkswitch.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c index c84f57be5e..5077b691a1 100644 --- a/gtk/gtkswitch.c +++ b/gtk/gtkswitch.c @@ -40,11 +40,13 @@ * * |[ * switch - * ╰── slider + * ├── slider + * ├── label + * ╰── label * ]| * - * GtkSwitch has two css nodes, the main node with the name switch and a subnode - * named slider. Neither of them is using any style classes. + * 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 using any style classes. */ #include "config.h"