From d11ac6d83e22f2d9de134a10ca33662f27ecd195 Mon Sep 17 00:00:00 2001 From: "G.Willems" Date: Tue, 11 Apr 2023 22:06:09 +0200 Subject: [PATCH] scalebutton: fix CSS name in documentation --- gtk/gtkscalebutton.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c index 7b2c2a11a0..2742864841 100644 --- a/gtk/gtkscalebutton.c +++ b/gtk/gtkscalebutton.c @@ -71,8 +71,14 @@ * * # CSS nodes * - * `GtkScaleButton` has a single CSS node with name button. To differentiate - * it from a plain `GtkButton`, it gets the .scale style class. + * ``` + * scalebutton.scale + * ╰── button.toggle + * ╰── + * ``` + * + * `GtkScaleButton` has a single CSS node with name scalebutton and `.scale` + * style class, and contains a `button` node with a `.toggle` style class. */ -- 2.30.2