Merge branch 'pr-docs-fix-markup-code-blocks' into 'main'

docs: Fix markup error in code blocks for "DEPRECATED" macros

See merge request GNOME/glib!2903
This commit is contained in:
Emmanuele Bassi 2022-09-18 14:02:39 +00:00
commit b38d5a991f

View File

@ -2049,7 +2049,7 @@
* G_GNUC_END_IGNORE_DEPRECATIONS * G_GNUC_END_IGNORE_DEPRECATIONS
* ]| * ]|
* *
* |[<!-- language="C" -- * |[<!-- language="C" -->
* static void * static void
* test_deprecated_function (void) * test_deprecated_function (void)
* { * {
@ -2083,7 +2083,7 @@
* meant to be portable across different compilers and must be placed * meant to be portable across different compilers and must be placed
* before the function declaration. * before the function declaration.
* *
* |[<!-- language="C" -- * |[<!-- language="C" -->
* G_DEPRECATED * G_DEPRECATED
* int my_mistake (void); * int my_mistake (void);
* ]| * ]|
@ -2100,7 +2100,7 @@
* is meant to be portable across different compilers and must be placed * is meant to be portable across different compilers and must be placed
* before the function declaration. * before the function declaration.
* *
* |[<!-- language="C" -- * |[<!-- language="C" -->
* G_DEPRECATED_FOR(my_replacement) * G_DEPRECATED_FOR(my_replacement)
* int my_mistake (void); * int my_mistake (void);
* ]| * ]|