[brasero/gnome-2-28] Remove unneeded code



commit daf0b87dcf58568b5b06b1a7b1eeeb15b6045657
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 4356316..e9dc2e9 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 d82cca2..729d359 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]