summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-05 00:20:05 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-05 07:26:10 -0500
commit2bfb5ad812b8b54f6acc4245a7fe6ce9ea65d236 (patch)
tree867b2fc334d5788ca514060f716aeba0e8023efe /gtk/gtkscrollbar.c
parentb6b00c31d7f0eace34f8ea75b75adf1983e108fe (diff)
downloadgtk+-2bfb5ad812b8b54f6acc4245a7fe6ce9ea65d236.tar.gz
range: Add a CSS node for the trough
This is in sync with what we do elsewhere for troughs.
Diffstat (limited to 'gtk/gtkscrollbar.c')
-rw-r--r--gtk/gtkscrollbar.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c
index d61df75792..2b68361ba2 100644
--- a/gtk/gtkscrollbar.c
+++ b/gtk/gtkscrollbar.c
@@ -59,14 +59,15 @@
* scrollbar
* ├── [button.down]
* ├── [button.up]
- * ├── slider
+ * ├── trough
+ * │ ╰── slider
* ├── [button.down]
* ╰── [button.up]
* ]|
*
- * GtkScrollbar has a main CSS node with name scrollbar, and a subnode
- * with name slider. If steppers are enabled, they are represented by up
- * to four additional subnodes with name button. These get the style classes
+ * GtkScrollbar has a main CSS node with name scrollbar, and subnodes with
+ * names trough and slider. If steppers are enabled, they are represented by
+ * up to four additional subnodes with name button. These get the style classes
* .up and .down to indicate in which direction they are moving.
*/