scalebutton: fix CSS name in documentation
authorG.Willems <g.willems.dev@laposte.net>
Tue, 11 Apr 2023 20:06:09 +0000 (22:06 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Apr 2023 07:16:14 +0000 (09:16 +0200)
gtk/gtkscalebutton.c

index 7b2c2a11a0d67d8ffe8d5b907174da06a37349c4..2742864841f2d03b66b1d5f8e1059d400ab4ad62 100644 (file)
  *
  * # 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
+ *     ╰── <icon>
+ * ```
+ *
+ * `GtkScaleButton` has a single CSS node with name scalebutton and `.scale`
+ * style class, and contains a `button` node with a `.toggle` style class.
  */