mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
docs: Fix markup that led to unreadable example
We used XML to markup when we should have used our own brand of markdown instead. This fixes the example being unreadable unless we trimmed the XML away from it.
This commit is contained in:
parent
4151dfea82
commit
b04be9efc7
@ -1980,13 +1980,10 @@ typedef enum {
|
||||
*
|
||||
* Note that because new values might be added, it is recommended that applications check
|
||||
* #GMemoryMonitorWarningLevel as ranges, for example:
|
||||
* <example>
|
||||
* <title>Comparing memory warning levels</title>
|
||||
* <programlisting>
|
||||
* |[<!-- language="C" -->
|
||||
* if (warning_level > G_MEMORY_MONITOR_WARNING_LEVEL_LOW)
|
||||
* drop_caches ();
|
||||
* </programlisting>
|
||||
* </example>
|
||||
* ]|
|
||||
*
|
||||
* Since: 2.64
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user