[brasero] Make use of the new function	brasero_burn_session_get_output_type ()
- From: Philippe Rouquier <philippr src gnome org>
 
- To: svn-commits-list gnome org
 
- Cc: 
 
- Subject: [brasero] Make use of the new function	brasero_burn_session_get_output_type ()
 
- Date: Sat, 10 Oct 2009 13:40:13 +0000 (UTC)
 
commit 2859910296ae8d1c8a1238cc94e49e7d63ae4604
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Thu Oct 8 14:41:33 2009 +0200
    Make use of the new function brasero_burn_session_get_output_type ()
 libbrasero-burn/brasero-caps-burn.c |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)
---
diff --git a/libbrasero-burn/brasero-caps-burn.c b/libbrasero-burn/brasero-caps-burn.c
index 9f1ef97..d2094c5 100644
--- a/libbrasero-burn/brasero-caps-burn.c
+++ b/libbrasero-burn/brasero-caps-burn.c
@@ -507,18 +507,7 @@ brasero_burn_caps_new_task (BraseroBurnCaps *self,
 	gboolean res;
 
 	/* determine the output and the flags for this task */
-	if (brasero_burn_session_is_dest_file (session)) {
-		media = BRASERO_MEDIUM_FILE;
-
-		output.type = BRASERO_TRACK_TYPE_IMAGE;
-		output.subtype.img_format = brasero_burn_session_get_output_format (session);
-	}
-	else {
-		media = brasero_burn_session_get_dest_media (session);
-
-		output.type = BRASERO_TRACK_TYPE_DISC;
-		output.subtype.media = media;
-	}
+	brasero_burn_session_get_output_type (session, &output);
 
 	if (BRASERO_BURN_SESSION_NO_TMP_FILE (session))
 		flags = BRASERO_PLUGIN_IO_ACCEPT_PIPE;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]