docs: use the gtk-doc shortcuts to get coloured and xrefed example
authorStefan Kost <ensonic@users.sf.net>
Mon, 11 Oct 2010 13:41:26 +0000 (16:41 +0300)
committerStefan Kost <ensonic@users.sf.net>
Mon, 11 Oct 2010 13:44:01 +0000 (16:44 +0300)
libs/gst/base/gstadapter.c

index 07a5bb1..a5211fb 100644 (file)
@@ -42,7 +42,7 @@
  *
  * For example, a sink pad's chain function that needs to pass data to a library
  * in 512-byte chunks could be implemented like this:
- * <programlisting>
+ * |[
  * static GstFlowReturn
  * sink_pad_chain (GstPad *pad, GstBuffer *buffer)
  * {
@@ -66,7 +66,8 @@
  *   gst_object_unref (this);
  *   return ret;
  * }
- * </programlisting>
+ * ]|
+ *
  * For another example, a simple element inside GStreamer that uses GstAdapter
  * is the libvisual element.
  *