[gtk/ebassi/gidocgen: 287/465] popover: Use markdown for css tree
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 287/465] popover: Use markdown for css tree
- Date: Mon, 8 Mar 2021 22:26:14 +0000 (UTC)
commit f839fab2ad9a84ca646fabeb2a423e16946435c4
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 27 20:04:02 2021 -0500
popover: Use markdown for css tree
gtk/gtkpopover.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index a0c9752707..5c1953ddaf 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -46,7 +46,7 @@
* is to use the [class@Gtk.PopoverMenu] subclass which supports being
* populated from a `GMenuModel` with [ctor@Gtk.PopoverMenu.new_from_model].
*
- * ```c
+ * ```xml
* <section>
* <attribute name="display-hint">horizontal-buttons</attribute>
* <item>
@@ -69,12 +69,12 @@
*
* # CSS nodes
*
- * |[<!-- language="plain" -->
+ * ```
* popover[.menu]
* ├── arrow
* ╰── contents.background
* ╰── <child>
- * ]|
+ * ```
*
* The contents child node always gets the .background style class
* and the popover itself gets the .menu style class if the popover
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]