mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Add GMountUnmountFlags to all unmount and eject calls. Add
2007-12-20 Alexander Larsson <alexl@redhat.com> * gfile.[ch]: * gdrive.[ch]: * gmount.[ch]: * gvolume.[ch]: * gunixmount.c: * gunixvolume.c: * gio.symbols: Add GMountUnmountFlags to all unmount and eject calls. Add g_mount_remount() call. svn path=/trunk/; revision=6169
This commit is contained in:
committed by
Alexander Larsson
parent
ba464215e7
commit
33c055feb1
@@ -357,6 +357,7 @@ g_volume_mount_finish (GVolume *volume,
|
||||
/**
|
||||
* g_volume_eject:
|
||||
* @volume: a #GVolume.
|
||||
* @flags: flags affecting the unmount if required for eject
|
||||
* @cancellable: optional #GCancellable object, %NULL to ignore.
|
||||
* @callback: a #GAsyncReadyCallback.
|
||||
* @user_data: a #gpointer.
|
||||
@@ -365,6 +366,7 @@ g_volume_mount_finish (GVolume *volume,
|
||||
**/
|
||||
void
|
||||
g_volume_eject (GVolume *volume,
|
||||
GMountUnmountFlags flags,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data)
|
||||
@@ -384,7 +386,7 @@ g_volume_eject (GVolume *volume,
|
||||
return;
|
||||
}
|
||||
|
||||
(* iface->eject) (volume, cancellable, callback, user_data);
|
||||
(* iface->eject) (volume, flags, cancellable, callback, user_data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user