From ad2e7b1de3e58ab3bc109e9f8c1be095af9f3f3b Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 11 Oct 2010 16:41:26 +0300 Subject: [PATCH] docs: use the gtk-doc shortcuts to get coloured and xrefed example --- libs/gst/base/gstadapter.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/gst/base/gstadapter.c b/libs/gst/base/gstadapter.c index 07a5bb1..a5211fb 100644 --- a/libs/gst/base/gstadapter.c +++ b/libs/gst/base/gstadapter.c @@ -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: - * + * |[ * static GstFlowReturn * sink_pad_chain (GstPad *pad, GstBuffer *buffer) * { @@ -66,7 +66,8 @@ * gst_object_unref (this); * return ret; * } - * + * ]| + * * For another example, a simple element inside GStreamer that uses GstAdapter * is the libvisual element. * -- 2.7.4