StyleContext: Add CSS snippet language comments

The language is useful for parsing tools, such as that of gtkmm, which
otherwise assumes these are C snippets and elides them from its
generated documentation.
This commit is contained in:
Daniel Boles
2017-10-12 19:40:45 +01:00
parent 06b21b4bec
commit 3354ad080b

View File

@@ -1202,13 +1202,13 @@ gtk_style_context_restore (GtkStyleContext *context)
* In the CSS file format, a #GtkEntry defining a “search”
* class, would be matched by:
*
* |[
* |[ <!-- language="CSS" -->
* entry.search { ... }
* ]|
*
* While any widget defining a “search” class would be
* matched by:
* |[
* |[ <!-- language="CSS" -->
* .search { ... }
* ]|
*