[brasero] Fix a problem with displaying the amount of free space on DVD+R (and probably all kinds of blank med



commit 8d208ee6f6a9b5b6fba0b0f16429c3eaa51214e8
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Sat Jun 27 20:02:46 2009 +0200

    Fix a problem with displaying the amount of free space on DVD+R (and probably all kinds of blank media)

 libbrasero-burn/brasero-dest-selection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-burn/brasero-dest-selection.c b/libbrasero-burn/brasero-dest-selection.c
index 47bb1a8..e6f7a41 100644
--- a/libbrasero-burn/brasero-dest-selection.c
+++ b/libbrasero-burn/brasero-dest-selection.c
@@ -560,7 +560,7 @@ brasero_dest_selection_format_medium_string (BraseroMediumSelection *selection,
 					       &blocks);
 	}
 	else {
-		brasero_medium_get_free_space (medium, NULL, &blocks);
+		brasero_medium_get_free_space (medium, &size_bytes, &blocks);
 
 		/* if data would not fit, try to see if once blanked it would
 		 * work. This also covers the case where the media is closed as



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