summaryrefslogtreecommitdiff
path: root/gdk/gdkpango.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-04 16:57:57 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-04 16:58:54 -0500
commit63e887e165a308cfc5899123d9572ffc3b6da92a (patch)
treeda5a3489443cde66aceeeb77a29e69004b6842c1 /gdk/gdkpango.c
parent28376c26002cd7e9d353a9aadb880a54b7d3374d (diff)
downloadgtk+-63e887e165a308cfc5899123d9572ffc3b6da92a.tar.gz
docs: replace all <examples> with markdown headings
Diffstat (limited to 'gdk/gdkpango.c')
-rw-r--r--gdk/gdkpango.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdk/gdkpango.c b/gdk/gdkpango.c
index 9b2b8542cd..b1d4eca2c7 100644
--- a/gdk/gdkpango.c
+++ b/gdk/gdkpango.c
@@ -49,8 +49,9 @@
*
* Rendering a Pango layout is done most simply with pango_cairo_show_layout();
* you can also draw pieces of the layout with pango_cairo_show_layout_line().
- * <example id="rotated-example">
- * <title>Draw transformed text with Pango and cairo</title>
+ *
+ * ## Draw transformed text with Pango and cairo ## {#rotated-example}
+ *
* <!-- Note that this example is basically the same as
* demos/gtk-demo/rotated_text.c -->
* |[<!-- language="C" -->
@@ -117,7 +118,7 @@
* g_object_unref (layout);
* g_object_unref (context);
* ]|
- * </example>
+ *
* <figure>
* <title>Output of <xref linkend="rotated-example"/></title>
* <graphic fileref="rotated-text.png" format="PNG"/>