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:
Alexander Larsson
2007-12-20 11:48:14 +00:00
committed by Alexander Larsson
parent ba464215e7
commit 33c055feb1
12 changed files with 164 additions and 12 deletions

View File

@@ -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);
}
/**