[brasero] Make sure we won't keep reprobing drive



commit 22bcbe8c3fac2b98e1e07100fa0778b2be4b991e
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Oct 14 22:27:30 2009 +0200

    Make sure we won't keep reprobing drive

 libbrasero-media/brasero-drive.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-media/brasero-drive.c b/libbrasero-media/brasero-drive.c
index f78d369..d7bd001 100644
--- a/libbrasero-media/brasero-drive.c
+++ b/libbrasero-media/brasero-drive.c
@@ -888,7 +888,6 @@ brasero_drive_probed_inside (gpointer data)
 
 	if (priv->has_medium) {
 		if (priv->medium) {
-			priv->probed = TRUE;
 			BRASERO_MEDIA_LOG ("Already a medium. Skipping");
 			return FALSE;
 		}
@@ -1030,6 +1029,7 @@ brasero_drive_probe_inside (BraseroDrive *drive)
 	priv = BRASERO_DRIVE_PRIVATE (drive);
 
 	priv->probed = FALSE;
+	priv->probe_waiting = FALSE;
 
 	/* Check that a probe is not already being performed */
 	g_mutex_lock (priv->mutex);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]