Package: telepathy-logger / 0.8.2-4

doc-Use-CDATA-section-to-avoid-XML-error-caused-by-e.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From e2d48668ae617a8764ceee3882549857eee6454c Mon Sep 17 00:00:00 2001
From: Ting-Wei Lan <lantw@src.gnome.org>
Date: Sun, 25 Jun 2017 23:51:56 +0800
Subject: [PATCH] doc: Use CDATA section to avoid XML error caused by example
 code

https://bugs.freedesktop.org/show_bug.cgi?id=101585
---
 telepathy-logger/log-walker.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/telepathy-logger/log-walker.c b/telepathy-logger/log-walker.c
index 4655f33..8534ee4 100644
--- a/telepathy-logger/log-walker.c
+++ b/telepathy-logger/log-walker.c
@@ -36,7 +36,7 @@
  *
  * <example>
  *   <title>Using a TplLogWalker to fetch text events from the logs.</title>
- *   <programlisting>
+ *   <programlisting><![CDATA[
  *   #include <telepathy-glib/telepathy-glib.h>
  *   #include <telepathy-logger/telepathy-logger.h>
  *
@@ -166,7 +166,7 @@
  *     g_main_loop_unref (loop);
  *     return 0;
  *   }
- *   </programlisting>
+ *   ]]></programlisting>
  * </example>
  *
  * Since: 0.8.0
-- 
2.15.1