Merge branch 'menu-model-diagram' into 'main'

Docs: Replace Gio.MenuModel diagram with SVG

See merge request GNOME/glib!4140
This commit is contained in:
Philip Withnall
2024-07-04 11:55:11 +00:00
5 changed files with 912 additions and 2 deletions

View File

@@ -69,7 +69,10 @@
*
* ## A menu example
*
* ![](menu-model.png)
* <picture>
* <source srcset="menu-model-dark.svg" media="(prefers-color-scheme: dark)">
* <img src="menu-model-light.svg" alt="menu model">
* </picture>
*
* Notice that the separators visible in the [example](#an-example-menu)
* appear nowhere in the [menu model](#a-menu-example). This is because