[Goodies-commits] r7713 - xfburn/trunk/xfburn
David Mohr
squisher at xfce.org
Fri Jul 10 00:36:54 CEST 2009
Author: squisher
Date: 2009-07-09 22:36:54 +0000 (Thu, 09 Jul 2009)
New Revision: 7713
Modified:
xfburn/trunk/xfburn/xfburn-device-list.c
Log:
Adding some debugging output
Modified: xfburn/trunk/xfburn/xfburn-device-list.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-device-list.c 2009-07-09 18:52:08 UTC (rev 7712)
+++ xfburn/trunk/xfburn/xfburn-device-list.c 2009-07-09 22:36:54 UTC (rev 7713)
@@ -310,8 +310,10 @@
guint i;
gint ret;
+ DBG ("Before scanning for drives");
while ((ret = burn_drive_scan (&drives, &(priv->num_drives))) == 0)
usleep (1002);
+ DBG ("After scanning for drives");
if (ret < 0)
g_warning ("An error occurred while scanning for available drives");
@@ -351,6 +353,8 @@
if (priv->num_drives > 0 && priv->num_burners < 1)
g_warning ("There are %d drives in your system, but none are capable of burning", priv->num_drives);
+
+ DBG ("Done");
}
static XfburnDevice *
More information about the Goodies-commits
mailing list