docs: use the gtk-doc shortcuts to get coloured and xrefed example

This commit is contained in:
Stefan Kost 2010-10-11 16:41:26 +03:00
parent 87d02b7b32
commit ad2e7b1de3

View file

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