dataqueue: clear up documentation of gst_data_queue_new

The gpointer argument is passed to all three callbacks, not just one.

https://bugzilla.gnome.org/show_bug.cgi?id=731302
This commit is contained in:
Evan Nemerson 2014-06-05 16:55:15 -07:00 committed by Tim-Philipp Müller
parent 1fe6d3ad08
commit 75e0a3c676

View file

@ -214,7 +214,8 @@ gst_data_queue_init (GstDataQueue * queue)
* or not.
* @fullcallback: the callback which will be called when the queue is considered full.
* @emptycallback: the callback which will be called when the queue is considered empty.
* @checkdata: a #gpointer that will be given in the @checkfull callback.
* @checkdata: a #gpointer that will be passed to the @checkfull, @fullcallback,
* and @emptycallback callbacks.
*
* Creates a new #GstDataQueue. The difference with @gst_data_queue_new is that it will
* not emit the 'full' and 'empty' signals, but instead calling directly @fullcallback