diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-05-25 15:46:35 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-05-25 15:46:35 +0200 |
commit | f99be75ff9d62f8e8e4e8850e34fe1020e58cb8c (patch) | |
tree | d406a47bf7338b5110c90ba79634302efd4aafb0 /gio/gfileoutputstream.c | |
parent | 3c0feca7f109c68e8c2a278875e576b18966d299 (diff) | |
download | glib-f99be75ff9d62f8e8e4e8850e34fe1020e58cb8c.tar.gz glib-f99be75ff9d62f8e8e4e8850e34fe1020e58cb8c.tar.bz2 glib-f99be75ff9d62f8e8e4e8850e34fe1020e58cb8c.zip |
Remove mention of non-existing calls from docs
The docs mentions a separate seekable API for the various file streams
which don't actually exists. Change this to refer to the generic
GSeekable calls.
Diffstat (limited to 'gio/gfileoutputstream.c')
-rw-r--r-- | gio/gfileoutputstream.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/gio/gfileoutputstream.c b/gio/gfileoutputstream.c index 494734c5a..832042e6f 100644 --- a/gio/gfileoutputstream.c +++ b/gio/gfileoutputstream.c @@ -45,15 +45,14 @@ * GFileOutputStream implements #GSeekable, which allows the output * stream to jump to arbitrary positions in the file and to truncate * the file, provided the filesystem of the file supports these - * operations. In addition to the generic g_seekable_ API, - * GFileOutputStream has its own API for seeking and positioning. - * To find the position of a file output stream, use - * g_file_output_stream_tell(). To find out if a file output - * stream supports seeking, use g_file_output_stream_can_seek(). - * To position a file output stream, use g_file_output_stream_seek(). - * To find out if a file output stream supports truncating, use - * g_file_output_stream_can_truncate(). To truncate a file output - * stream, use g_file_output_stream_truncate(). + * operations. + * + * To find the position of a file output stream, use g_seekable_tell(). + * To find out if a file output stream supports seeking, use + * g_seekable_can_seek().To position a file output stream, use + * g_seekable_seek(). To find out if a file output stream supports + * truncating, use g_seekable_can_truncate(). To truncate a file output + * stream, use g_seekable_truncate(). **/ static void g_file_output_stream_seekable_iface_init (GSeekableIface *iface); |