diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-12-05 10:38:03 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-12-05 10:38:03 +0000 |
commit | 2c362b7f9eb7cc81f37970e24c5b5dcdc56ea6d5 (patch) | |
tree | c9e9430e3c9954ee332271980d4e157aeafa0543 /gio/gseekable.h | |
parent | a8a42c8b15f38302939c9b7b198d59be29805cb2 (diff) | |
download | glib-2c362b7f9eb7cc81f37970e24c5b5dcdc56ea6d5.tar.gz glib-2c362b7f9eb7cc81f37970e24c5b5dcdc56ea6d5.tar.bz2 glib-2c362b7f9eb7cc81f37970e24c5b5dcdc56ea6d5.zip |
Rename all struct members named: read, write, close, truncate, or mount to
2007-12-05 Alexander Larsson <alexl@redhat.com>
* gbufferedinputstream.c:
* gbufferedoutputstream.c:
* gdrive.[ch]:
* gfile.[ch]:
* gfileenumerator.[ch]:
* gfileinputstream.c:
* gfileoutputstream.[ch]:
* gfilterinputstream.c:
* gfilteroutputstream.c:
* ginputstream.[ch]:
* glocalfile.c:
* glocalfileenumerator.c:
* glocalfileinputstream.c:
* glocalfileoutputstream.c:
* gmemoryinputstream.c:
* gmemoryoutputstream.c:
* goutputstream.[ch]:
* gseekable.[ch]:
* gunixdrive.c:
* gunixinputstream.c:
* gunixoutputstream.c:
Rename all struct members named:
read, write, close, truncate, or mount
to foo_fn, as these are reserved names
and could be defined as macros in libc.
(#501645)
svn path=/trunk/; revision=6048
Diffstat (limited to 'gio/gseekable.h')
-rw-r--r-- | gio/gseekable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gseekable.h b/gio/gseekable.h index b289df587..052534903 100644 --- a/gio/gseekable.h +++ b/gio/gseekable.h @@ -48,7 +48,7 @@ typedef struct _GSeekableIface GSeekableIface; * @can_seek: Checks if seeking is supported by the stream. * @seek: Seeks to a location within a stream. * @can_truncate: Chekcs if truncation is suppored by the stream. - * @truncate: Truncates a stream. + * @truncate_fn: Truncates a stream. * * Provides an interface for implementing seekable functionality on I/O Streams. **/ @@ -68,7 +68,7 @@ struct _GSeekableIface GError **error); gboolean (* can_truncate) (GSeekable *seekable); - gboolean (* truncate) (GSeekable *seekable, + gboolean (* truncate_fn) (GSeekable *seekable, goffset offset, GCancellable *cancellable, GError **error); |