summaryrefslogtreecommitdiff
path: root/src/cairo-version.c
diff options
context:
space:
mode:
authorNis Martensen <nis.martensen@web.de>2012-03-03 23:19:20 +0100
committerUli Schlachter <psychon@znc.in>2012-03-10 10:20:29 +0100
commitb42270a3f14774c6557d798b8cc4c310785f4e70 (patch)
tree565f8a41bb3fc67e6d74106e8a51a11cc921b4ce /src/cairo-version.c
parent77da76ac6c31709962e81b2683d984bc58c412d6 (diff)
downloadcairo-b42270a3f14774c6557d798b8cc4c310785f4e70.tar.gz
doc: preserve whitespace by using docbook screen tag
Using the programlisting tag is not appropriate everywhere. Use the screen tag where the formatting shall be preserved and the text is no code listing. Also add whitespace to prevent gtk-doc from inserting paragraph breaks. Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-version.c')
-rw-r--r--src/cairo-version.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cairo-version.c b/src/cairo-version.c
index 2f53e1140..bc7fe109e 100644
--- a/src/cairo-version.c
+++ b/src/cairo-version.c
@@ -54,31 +54,31 @@
* vs. in-progress development, (such as from git instead of a tar file,
* or as a "snapshot" tar file as opposed to a "release" tar file).
*
- * <informalexample><programlisting>
+ * <informalexample><screen>
* _____ Major. Always 1, until we invent a new scheme.
* / ___ Minor. Even/Odd = Release/Snapshot (tar files) or Branch/Head (git)
* | / _ Micro. Even/Odd = Tar-file/git
* | | /
* 1.0.0
- * </programlisting></informalexample>
+ * </screen></informalexample>
*
* Here are a few examples of versions that one might see.
- * <informalexample><programlisting>
+ * <informalexample><screen>
* Releases
* --------
* 1.0.0 - A major release
* 1.0.2 - A subsequent maintenance release
* 1.2.0 - Another major release
- *
+ * &nbsp;
* Snapshots
* ---------
* 1.1.2 - A snapshot (working toward the 1.2.0 release)
- *
+ * &nbsp;
* In-progress development (eg. from git)
* --------------------------------------
* 1.0.1 - Development on a maintenance branch (toward 1.0.2 release)
* 1.1.1 - Development on head (toward 1.1.2 snapshot and 1.2.0 release)
- * </programlisting></informalexample>
+ * </screen></informalexample>
* </para>
* <refsect2>
* <title>Compatibility</title>
@@ -112,17 +112,17 @@
* an encoded form suitable for direct comparison. Cairo also provides the
* macro CAIRO_VERSION_ENCODE() to perform the encoding.
*
- * <informalexample><programlisting>
+ * <informalexample><screen>
* Compile-time
* ------------
* CAIRO_VERSION_STRING Human-readable
* CAIRO_VERSION Encoded, suitable for comparison
- *
+ * &nbsp;
* Run-time
* --------
* cairo_version_string() Human-readable
* cairo_version() Encoded, suitable for comparison
- * </programlisting></informalexample>
+ * </screen></informalexample>
*
* For example, checking that the cairo version is greater than or equal
* to 1.0.0 could be achieved at compile-time or run-time as follows: