io: fix typo in docs for QIOTask

The GDestroyNotify parameter is already a pointer, so does
not need a '*' suffix on the type.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange 2016-08-11 14:25:30 +01:00
parent 937470bb54
commit e8c8adecad

View file

@ -49,7 +49,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task,
* void myobject_operation(QMyObject *obj, * void myobject_operation(QMyObject *obj,
* QIOTaskFunc *func, * QIOTaskFunc *func,
* gpointer opaque, * gpointer opaque,
* GDestroyNotify *notify); * GDestroyNotify notify);
* </programlisting> * </programlisting>
* </example> * </example>
* *
@ -67,7 +67,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task,
* void myobject_operation(QMyObject *obj, * void myobject_operation(QMyObject *obj,
* QIOTaskFunc *func, * QIOTaskFunc *func,
* gpointer opaque, * gpointer opaque,
* GDestroyNotify *notify) * GDestroyNotify notify)
* { * {
* QIOTask *task; * QIOTask *task;
* *
@ -154,7 +154,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task,
* SocketAddress *addr, * SocketAddress *addr,
* QIOTaskFunc *func, * QIOTaskFunc *func,
* gpointer opaque, * gpointer opaque,
* GDestroyNotify *notify) * GDestroyNotify notify)
* { * {
* QIOTask *task; * QIOTask *task;
* SocketAddress *addrCopy; * SocketAddress *addrCopy;