From 88781d59066a185337dee76969fb49dabc4a6f15 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 4 Apr 2012 15:22:15 -0400 Subject: [PATCH] Fix some gtk-doc stuff --- gio/ginputstream.c | 8 ++++---- gio/goutputstream.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gio/ginputstream.c b/gio/ginputstream.c index da578bd46..7160c232f 100644 --- a/gio/ginputstream.c +++ b/gio/ginputstream.c @@ -37,7 +37,7 @@ * @short_description: Base class for implementing streaming input * @include: gio/gio.h * - * GInputStream has functions to read from a stream (g_input_stream_read()), + * #GInputStream has functions to read from a stream (g_input_stream_read()), * to close a stream (g_input_stream_close()) and to skip some content * (g_input_stream_skip()). * @@ -153,9 +153,9 @@ g_input_stream_init (GInputStream *stream) * can happen e.g. near the end of a file. Zero is returned on end of file * (or if @count is zero), but never otherwise. * - * If @cancellable is not NULL, then the operation can be cancelled by + * If @cancellable is not %NULL, then the operation can be cancelled by * triggering the cancellable object from another thread. If the operation - * was cancelled, the error G_IO_ERROR_CANCELLED will be returned. If an + * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an * operation was partially finished when the operation was cancelled the * partial result will be returned, without an error. * @@ -414,7 +414,7 @@ g_input_stream_real_skip (GInputStream *stream, * close will still return %G_IO_ERROR_CLOSED for all operations. Still, it * is important to check and report the error to the user. * - * If @cancellable is not NULL, then the operation can be cancelled by + * If @cancellable is not %NULL, then the operation can be cancelled by * triggering the cancellable object from another thread. If the operation * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. * Cancelling a close will still leave the stream closed, but some streams diff --git a/gio/goutputstream.c b/gio/goutputstream.c index f40af9c1f..d9710467f 100644 --- a/gio/goutputstream.c +++ b/gio/goutputstream.c @@ -35,7 +35,7 @@ * @short_description: Base class for implementing streaming output * @include: gio/gio.h * - * GOutputStream has functions to write to a stream (g_output_stream_write()), + * #GOutputStream has functions to write to a stream (g_output_stream_write()), * to close a stream (g_output_stream_close()) and to flush pending writes * (g_output_stream_flush()). * @@ -169,7 +169,7 @@ g_output_stream_init (GOutputStream *stream) * is written or an error occurs; 0 is never returned (unless * @count is 0). * - * If @cancellable is not NULL, then the operation can be cancelled by + * If @cancellable is not %NULL, then the operation can be cancelled by * triggering the cancellable object from another thread. If the operation * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an * operation was partially finished when the operation was cancelled the @@ -248,7 +248,7 @@ g_output_stream_write (GOutputStream *stream, * On a successful write of @count bytes, %TRUE is returned, and @bytes_written * is set to @count. * - * If there is an error during the operation FALSE is returned and @error + * If there is an error during the operation %FALSE is returned and @error * is set to indicate the error status, @bytes_written is updated to contain * the number of bytes written into the stream before the error occurred. * @@ -551,7 +551,7 @@ _g_output_stream_close_internal (GOutputStream *stream, * is important to check and report the error to the user, otherwise * there might be a loss of data as all data might not be written. * - * If @cancellable is not NULL, then the operation can be cancelled by + * If @cancellable is not %NULL, then the operation can be cancelled by * triggering the cancellable object from another thread. If the operation * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. * Cancelling a close will still leave the stream closed, but there some streams