Esempio n. 1
0
 static void drivedisconnected_cb(IntPtr volume_monitor, IntPtr drive)
 {
     try {
         VolumeMonitor volume_monitor_managed = GLib.Object.GetObject(volume_monitor, false) as VolumeMonitor;
         volume_monitor_managed.OnDriveDisconnected(GLib.Object.GetObject(drive) as Gnome.Vfs.Drive);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Esempio n. 2
0
 static void volumepreunmount_cb(IntPtr volume_monitor, IntPtr volume)
 {
     try {
         VolumeMonitor volume_monitor_managed = GLib.Object.GetObject(volume_monitor, false) as VolumeMonitor;
         volume_monitor_managed.OnVolumePreUnmount(GLib.Object.GetObject(volume) as Gnome.Vfs.Volume);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }