summaryrefslogtreecommitdiff
path: root/gio/glocalfileenumerator.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2007-12-05 10:38:03 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-12-05 10:38:03 +0000
commit2c362b7f9eb7cc81f37970e24c5b5dcdc56ea6d5 (patch)
treec9e9430e3c9954ee332271980d4e157aeafa0543 /gio/glocalfileenumerator.c
parenta8a42c8b15f38302939c9b7b198d59be29805cb2 (diff)
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/glocalfileenumerator.c')
-rw-r--r--gio/glocalfileenumerator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/glocalfileenumerator.c b/gio/glocalfileenumerator.c
index b98b83f16..1859d41f3 100644
--- a/gio/glocalfileenumerator.c
+++ b/gio/glocalfileenumerator.c
@@ -92,7 +92,7 @@ g_local_file_enumerator_class_init (GLocalFileEnumeratorClass *klass)
gobject_class->finalize = g_local_file_enumerator_finalize;
enumerator_class->next_file = g_local_file_enumerator_next_file;
- enumerator_class->close = g_local_file_enumerator_close;
+ enumerator_class->close_fn = g_local_file_enumerator_close;
}
static void