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