[Goodies-commits] r4676 - xfburn/trunk/xfburn
David Mohr
squisher at xfce.org
Fri Apr 25 20:40:00 CEST 2008
Author: squisher
Date: 2008-04-25 18:40:00 +0000 (Fri, 25 Apr 2008)
New Revision: 4676
Modified:
xfburn/trunk/xfburn/xfburn-device-list.c
Log:
Overlooked a g_error, now last commit works
Modified: xfburn/trunk/xfburn/xfburn-device-list.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-device-list.c 2008-04-25 18:27:13 UTC (rev 4675)
+++ xfburn/trunk/xfburn/xfburn-device-list.c 2008-04-25 18:40:00 UTC (rev 4676)
@@ -281,6 +281,8 @@
return FALSE;
}
+ /* we need to try to grab several times, because
+ * the drive might be busy detecting the media */
for (i=0; i<max_checks; i++) {
ret = burn_drive_scan_and_grab (drive_info, drive_addr, 0);
if (ret > 0)
@@ -290,7 +292,7 @@
}
if (ret <= 0) {
- g_error ("Unable to grab drive at path '%s' (ret=%d).", device->addr, ret);
+ g_warning ("Unable to grab drive at path '%s' (ret=%d).", device->addr, ret);
return FALSE;
}
More information about the Goodies-commits
mailing list