summaryrefslogtreecommitdiff
path: root/src/cairo-pattern.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-pattern.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-pattern.c')
-rw-r--r--src/cairo-pattern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c
index eaf3c5718..205dfe057 100644
--- a/src/cairo-pattern.c
+++ b/src/cairo-pattern.c
@@ -878,7 +878,7 @@ static const int mesh_control_point_j[4] = { 1, 2, 2, 1 };
* Degenerate sides are permitted so straight lines may be used. A
* zero length line on one side may be used to create 3 sided patches.
*
- * <informalexample><programlisting>
+ * <informalexample><screen>
* C1 Side 1 C2
* +---------------+
* | |
@@ -891,7 +891,7 @@ static const int mesh_control_point_j[4] = { 1, 2, 2, 1 };
* | |
* +---------------+
* C0 Side 3 C3
- * </programlisting></informalexample>
+ * </screen></informalexample>
*
* Each patch is constructed by first calling
* cairo_mesh_pattern_begin_patch(), then cairo_mesh_pattern_move_to()