The GDestroyNotify parameter is already a pointer, so does not need a '*' suffix on the type.
Signed-off-by: Daniel P. Berrange <berra...@redhat.com> --- include/io/task.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/io/task.h b/include/io/task.h index c268eb0..1407747 100644 --- a/include/io/task.h +++ b/include/io/task.h @@ -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; -- 2.9.3