[brasero] Avoid having the GError overwritten at every attempt when there is an error with ejection
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Avoid having the GError overwritten at every attempt when there is an error with ejection
- Date: Sat, 1 Aug 2009 08:25:41 +0000 (UTC)
commit 6578a9c07b11aaebafadec9219cd3111e00405e6
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Thu Jul 30 18:11:20 2009 +0200
Avoid having the GError overwritten at every attempt when there is an error with ejection
libbrasero-burn/brasero-burn.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn.c b/libbrasero-burn/brasero-burn.c
index d692203..b2d7e5e 100644
--- a/libbrasero-burn/brasero-burn.c
+++ b/libbrasero-burn/brasero-burn.c
@@ -272,7 +272,7 @@ brasero_burn_eject (BraseroBurn *self,
{
guint counter = 0;
- brasero_drive_eject (drive, TRUE, error);
+ brasero_drive_eject (drive, TRUE, NULL);
/* sleep some time and see what happened */
brasero_burn_sleep (self, 500);
@@ -299,7 +299,7 @@ brasero_burn_eject (BraseroBurn *self,
}
BRASERO_BURN_LOG ("Retrying ejection");
- brasero_drive_eject (drive, TRUE, error);
+ brasero_drive_eject (drive, TRUE, NULL);
brasero_burn_sleep (self, 500);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]