summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2008-09-06 22:26:56 +0200
committerBenjamin Otte <otte@gnome.org>2008-09-06 22:29:47 +0200
commitc2062dc8b73d031e596d0b6c0f6fcc76839eb251 (patch)
tree776eb0d155969adb62f59e47238a1aedd3462091 /doc
parentd45b3168db2362eaaa8ee29fc653509bc8f67e65 (diff)
[doc] get rid of various markers that aren't interpreted by gtk-doc
Diffstat (limited to 'doc')
-rw-r--r--doc/public/tmpl/cairo-version.sgml16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/public/tmpl/cairo-version.sgml b/doc/public/tmpl/cairo-version.sgml
index 2e4acd6a..add88811 100644
--- a/doc/public/tmpl/cairo-version.sgml
+++ b/doc/public/tmpl/cairo-version.sgml
@@ -76,16 +76,16 @@ rather the many states between snapshots and releases.
<para>
Cairo provides the ability to examine the version at either
compile-time or run-time and in both a human-readable form as well as
-an encoded form suitable for direct comparison. Cairo also provides a
-macro (CAIRO_VERSION_ENCODE()) to perform the encoding.
+an encoded form suitable for direct comparison. Cairo also provides the
+macro CAIRO_VERSION_ENCODE() to perform the encoding.
</para>
<para>
<informalexample><programlisting>
Compile-time
------------
-%CAIRO_VERSION_STRING Human-readable
-%CAIRO_VERSION Encoded, suitable for comparison
+CAIRO_VERSION_STRING Human-readable
+CAIRO_VERSION Encoded, suitable for comparison
Run-time
--------
@@ -99,12 +99,12 @@ 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:
<informalexample><programlisting>
-##if %CAIRO_VERSION >= %CAIRO_VERSION_ENCODE(1, 0, 0)
-printf ("Compiling with suitable cairo version: %%s\n", %CAIRO_VERSION_STRING);
+##if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 0, 0)
+printf ("Compiling with suitable cairo version: %s\n", %CAIRO_VERSION_STRING);
##endif
-if (cairo_version() >= %CAIRO_VERSION_ENCODE(1, 0, 0))
- printf ("Running with suitable cairo version: %%s\n", cairo_version_string ());
+if (cairo_version() >= CAIRO_VERSION_ENCODE(1, 0, 0))
+ printf ("Running with suitable cairo version: %s\n", cairo_version_string ());
</programlisting></informalexample>
</para>
</refsect2>