[gtk+] doc: Add missing CDATA around a XML programlisting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] doc: Add missing CDATA around a XML programlisting
- Date: Thu, 17 May 2012 03:57:01 +0000 (UTC)
commit 5346ae57648c8c535a3c245750507aa3e93d51af
Author: Volker Sobek <reklov live com>
Date: Fri May 4 02:08:21 2012 +0200
doc: Add missing CDATA around a XML programlisting
https://bugzilla.gnome.org/show_bug.cgi?id=675423
gtk/gtkuimanager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkuimanager.c b/gtk/gtkuimanager.c
index c80df7c..f67fe96 100644
--- a/gtk/gtkuimanager.c
+++ b/gtk/gtkuimanager.c
@@ -128,7 +128,7 @@
*
* <example>
* <title>A UI definition</title>
- * <programlisting>
+ * <programlisting><![CDATA[
* <ui>
* <menubar>
* <menu name="FileMenu" action="FileMenuAction">
@@ -153,7 +153,7 @@
* </placeholder>
* </toolbar>
* </ui>
- * </programlisting>
+ * ]]></programlisting>
* </example>
*
* The constructed widget hierarchy is very similar to the element tree
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]