summaryrefslogtreecommitdiff
path: root/gtk/gtkfontbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-12-23 08:57:04 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-12-23 08:59:58 -0500
commit4f0c920a8e5f2ff17b3e8e41f241c13745e5ff6a (patch)
tree49be4edccd03d37dea4e6a9b1f7d6d0c91a075cd /gtk/gtkfontbutton.c
parentb0b793dd949b12b38eccc0e89a2923cb193d139e (diff)
downloadgtk+-4f0c920a8e5f2ff17b3e8e41f241c13745e5ff6a.tar.gz
fontbutton: Correct the css docs
Mention the wrapper fontbutton node.
Diffstat (limited to 'gtk/gtkfontbutton.c')
-rw-r--r--gtk/gtkfontbutton.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index dc842eb737..50f86feb54 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -59,7 +59,14 @@
*
* # CSS nodes
*
- * GtkFontButton has a single CSS node with name fontbutton.
+ * |[<!-- language="plain" -->
+ * fontbutton
+ * ╰── button.font
+ * ╰── [content]
+ *]|
+ *
+ * GtkFontButton has a single CSS node with name fontbutton which
+ * contains a button node with the .font style class.
*/
typedef struct _GtkFontButtonClass GtkFontButtonClass;