Ejemplo n.º 1
0
 // as of GLib 2.22, Mount.UnMount and Mount.Eject are deprecated.  These should be used instead.
 public static void UnmountWithOperation(this GLib.Mount m, MountUnmountFlags flags, GLib.MountOperation operation,
                                         Cancellable cancellable, AsyncReadyCallback callback)
 {
     m.MaybeEmptyTrashWithAction(() => {
         NativeInterop.UnmountWithOperation(m, flags, operation, cancellable, callback);
     });
 }
Ejemplo n.º 2
0
 public static bool UnmountWithOperationFinish(this GLib.Mount m, AsyncResult result)
 {
     return(NativeInterop.UnmountWithOperation(m, result));
 }