Fix a doc problem

svn path=/branches/glib-2-16/; revision=7105
This commit is contained in:
Matthias Clasen 2008-06-30 03:06:56 +00:00
parent 408471e3a9
commit c69e10ffd5
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2008-06-29 Matthias Clasen <mclasen@redhat.com>
Bug 540459 there are no way of getting the real number of bytes
written in GMemoryOutputStream
* gmemoryoutputstream.c: Fix docs for how to get the data size.
Pointed out by Akira Tagoh
2008-05-13 Bastien Nocera <hadess@hadess.net>
* gfile.c (has_valid_scheme): A URI scheme must start with a

View File

@ -243,7 +243,7 @@ g_memory_output_stream_get_data (GMemoryOutputStream *ostream)
*
* Note, this does not return the number of bytes written to the stream.
* In glib 2.18 this is availible with g_memory_output_stream_get_data_size(),
* but for 2.16 you have to use g_seekable_seek() to G_SEEK_END
* but for 2.16 you have to use g_seekable_seek() to %G_SEEK_CUR
* and call g_seekable_tell() to achive this.
*
* Returns: the number of bytes allocated for the data buffer