mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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
This commit is contained in:
committed by
Alexander Larsson
parent
a8a42c8b15
commit
2c362b7f9e
@@ -275,7 +275,7 @@ g_drive_mount (GDrive *drive,
|
||||
|
||||
iface = G_DRIVE_GET_IFACE (drive);
|
||||
|
||||
if (iface->mount == NULL)
|
||||
if (iface->mount_fn == NULL)
|
||||
{
|
||||
g_simple_async_report_error_in_idle (G_OBJECT (drive), callback, user_data,
|
||||
G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
|
||||
@@ -284,7 +284,7 @@ g_drive_mount (GDrive *drive,
|
||||
return;
|
||||
}
|
||||
|
||||
(* iface->mount) (drive, mount_operation, cancellable, callback, user_data);
|
||||
(* iface->mount_fn) (drive, mount_operation, cancellable, callback, user_data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user