summaryrefslogtreecommitdiff
path: root/gtk/gtkbuilder.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-27 12:12:55 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-29 12:45:49 -0500
commit768bc44081550be18ee19697ed36b5f92298ef11 (patch)
tree8a0600c37dd2cc07fb00426c76922d3e3f1085e5 /gtk/gtkbuilder.c
parenta74ea0770dfc3c7feaa156ab26c26b44162d1820 (diff)
downloadgtk+-768bc44081550be18ee19697ed36b5f92298ef11.tar.gz
docs: use |[ ]| instead of <programlisting></programlisting>
https://bugzilla.gnome.org/show_bug.cgi?id=723119
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r--gtk/gtkbuilder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index 81b8413cf2..f53f2103fc 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -67,11 +67,11 @@
* <link linkend="XML-UI">GtkUIManager UI Definitions</link>, which are more
* limited in scope. It is common to use <filename>.ui</filename> as the filename extension for files containing GtkBuilder UI definitions.
* </para>
- * <programlisting>
+ * |[
* <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../gtk/gtkbuilder.rnc">
* <xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback>
* </xi:include>
- * </programlisting>
+ * ]|
* <para>
* The toplevel element is &lt;interface&gt;. It optionally takes a "domain"
* attribute, which will make the builder look for translated strings using
@@ -158,7 +158,7 @@
* </para>
* <example>
* <title>A GtkBuilder UI Definition</title>
- * <programlisting><![CDATA[
+ * |[
* <interface>
* <object class="GtkDialog" id="dialog1">
* <child internal-child="vbox">
@@ -180,7 +180,7 @@
* </child>
* </object>
* </interface>
- * ]]></programlisting>
+ * ]|
* </example>
* <para>
* Beyond this general structure, several object classes define their own XML