[brasero] After ejection (or not) of the destination media return the result of the operation
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] After ejection (or not) of the destination media return the result of the operation
- Date: Wed, 14 Oct 2009 20:32:14 +0000 (UTC)
commit ae8ac12d280189f3af2bbbc514b69753d32e0729
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Tue Oct 13 20:55:24 2009 +0200
After ejection (or not) of the destination media return the result of the operation
libbrasero-burn/brasero-burn.c | 3 ++-
libbrasero-media/brasero-drive.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn.c b/libbrasero-burn/brasero-burn.c
index 11d3fd9..5a494fb 100644
--- a/libbrasero-burn/brasero-burn.c
+++ b/libbrasero-burn/brasero-burn.c
@@ -431,8 +431,9 @@ brasero_burn_eject_dest_media (BraseroBurn *self,
}
result = brasero_burn_eject (self, priv->dest, error);
+ priv->dest = NULL;
- return BRASERO_BURN_OK;
+ return result;
}
static BraseroBurnResult
diff --git a/libbrasero-media/brasero-drive.c b/libbrasero-media/brasero-drive.c
index 8e4712b..2af48d0 100644
--- a/libbrasero-media/brasero-drive.c
+++ b/libbrasero-media/brasero-drive.c
@@ -799,7 +799,7 @@ brasero_drive_medium_probed (BraseroMedium *medium,
}
/**
- * This is not public API. Defined in burn-monitor.h.
+ * This is not public API. Defined in brasero-drive-priv.h.
*/
gboolean
brasero_drive_probing (BraseroDrive *drive)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]