[gtk/ebassi/gidocgen: 286/478] comboboxtext: Use markdown for css tree
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 286/478] comboboxtext: Use markdown for css tree
- Date: Fri, 5 Mar 2021 23:02:38 +0000 (UTC)
commit 20337cec08038fd6c951568b3e9c28e0d9c6e555
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 27 19:45:37 2021 -0500
comboboxtext: Use markdown for css tree
gtk/gtkcomboboxtext.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkcomboboxtext.c b/gtk/gtkcomboboxtext.c
index 694bf3b5b4..4d1ba8243b 100644
--- a/gtk/gtkcomboboxtext.c
+++ b/gtk/gtkcomboboxtext.c
@@ -64,7 +64,7 @@
* translation attributes “translatable”, “context” and “comments”.
*
* Here is a UI definition fragment specifying `GtkComboBoxText` items:
- * |[
+ * ```xml
* <object class="GtkComboBoxText">
* <items>
* <item translatable="yes" id="factory">Factory</item>
@@ -72,17 +72,17 @@
* <item translatable="yes" id="subway">Subway</item>
* </items>
* </object>
- * ]|
+ * ```
*
* # CSS nodes
*
- * |[<!-- language="plain" -->
+ * ```
* combobox
* ╰── box.linked
* ├── entry.combo
* ├── button.combo
* ╰── window.popup
- * ]|
+ * ```
*
* `GtkComboBoxText` has a single CSS node with name combobox. It adds
* the style class .combo to the main CSS nodes of its entry and button
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]