[brasero] Remove unneeded code



commit c7de145dfee832b6c3b71d98893a6e9474224f4c
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Oct 7 20:18:49 2009 +0200

    Remove unneeded code

 libbrasero-burn/brasero-burn.c |    7 -------
 libbrasero-burn/burn-basics.c  |    2 ++
 2 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn.c b/libbrasero-burn/brasero-burn.c
index 40ad21b..95b5444 100644
--- a/libbrasero-burn/brasero-burn.c
+++ b/libbrasero-burn/brasero-burn.c
@@ -2528,13 +2528,6 @@ brasero_burn_same_src_dest_image (BraseroBurn *self,
 							     &ret_error);
 	}
 
-	/* some, like cdrdao, can't overwrite the files */
-	if (image)
-		g_remove (image);
-
-	if (toc)
-		g_remove (toc);
-
 	result = brasero_burn_session_set_image_output_full (priv->session,
 							     brasero_track_type_get_image_format (output),
 							     image,
diff --git a/libbrasero-burn/burn-basics.c b/libbrasero-burn/burn-basics.c
index a3fbc59..17bb684 100644
--- a/libbrasero-burn/burn-basics.c
+++ b/libbrasero-burn/burn-basics.c
@@ -53,6 +53,8 @@
 #include "brasero-drive.h"
 #include "brasero-medium-monitor.h"
 
+#include "brasero-burn-lib.h"
+
 static BraseroPluginManager *plugin_manager = NULL;
 static BraseroMediumMonitor *medium_manager = NULL;
 static BraseroBurnCaps *default_caps = NULL;



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