[Xfce4-commits] <xfburn:master> Use burn_drive_snooze after being done with a drive.

David Mohr noreply at xfce.org
Tue Feb 25 06:36:01 CET 2014


Updating branch refs/heads/master
         to b960f80263d438236cd1ae772863c1643e149430 (commit)
       from 219317392c393eefefa7cf70a09d1fc0ae9ca88d (commit)

commit b960f80263d438236cd1ae772863c1643e149430
Author: David Mohr <david at mcbf.net>
Date:   Mon Feb 24 22:24:36 2014 -0700

    Use burn_drive_snooze after being done with a drive.
    
    Thanks Thomas.

 xfburn/xfburn-device-list.c |    1 +
 xfburn/xfburn-device.c      |    1 +
 2 files changed, 2 insertions(+)

diff --git a/xfburn/xfburn-device-list.c b/xfburn/xfburn-device-list.c
index 5def1aa..6c25b0c 100644
--- a/xfburn/xfburn-device-list.c
+++ b/xfburn/xfburn-device-list.c
@@ -299,6 +299,7 @@ get_libburn_device_list (XfburnDeviceList *devlist)
       g_message ("Ignoring reader '%s' at '%s'", name, addr);
       g_object_unref (device);
     }
+    burn_drive_snooze(drives[i].drive, 0);
   }
 
   burn_drive_info_free (drives);
diff --git a/xfburn/xfburn-device.c b/xfburn/xfburn-device.c
index a799013..30b4e26 100644
--- a/xfburn/xfburn-device.c
+++ b/xfburn/xfburn-device.c
@@ -511,6 +511,7 @@ xfburn_device_release (struct burn_drive_info *drive_info, gboolean eject)
 {
   int ret;
 
+  burn_drive_snooze (drive_info->drive, 0);
   burn_drive_release (drive_info->drive, eject);
 
   ret = burn_drive_info_forget (drive_info, 0);


More information about the Xfce4-commits mailing list