summaryrefslogtreecommitdiff
path: root/gdk/gdkpango.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 /gdk/gdkpango.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 'gdk/gdkpango.c')
-rw-r--r--gdk/gdkpango.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkpango.c b/gdk/gdkpango.c
index ca5745beb2..68a21cb9e0 100644
--- a/gdk/gdkpango.c
+++ b/gdk/gdkpango.c
@@ -53,7 +53,7 @@
* <title>Draw transformed text with Pango and cairo</title>
* <!-- Note that this example is basically the same as
* demos/gtk-demo/rotated_text.c -->
- * <programlisting>
+ * |[
* #define RADIUS 100
* #define N_WORDS 10
* #define FONT "Sans Bold 18"
@@ -116,7 +116,7 @@
*
* g_object_unref (layout);
* g_object_unref (context);
- * </programlisting>
+ * ]|
* </example>
* <figure>
* <title>Output of <xref linkend="rotated-example"/></title>