[brasero] Fix #587690 – brasero crashed with SIGSEGV in brasero_jacket_edit_freeze()



commit b0f0cd6bbe13119993075ecb50e317953a6342b6
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Sun Aug 2 20:33:32 2009 +0200

    Fix #587690 â?? brasero crashed with SIGSEGV in brasero_jacket_edit_freeze()

 libbrasero-burn/brasero-cover.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libbrasero-burn/brasero-cover.c b/libbrasero-burn/brasero-cover.c
index 5ecb307..f2c966f 100644
--- a/libbrasero-burn/brasero-cover.c
+++ b/libbrasero-burn/brasero-cover.c
@@ -244,12 +244,12 @@ brasero_session_edit_cover (BraseroBurnSession *session,
 					 BRASERO_COVER_URI,
 					 &cover_value);
 
-	brasero_jacket_edit_freeze (BRASERO_JACKET_EDIT (edit));
-	brasero_jacket_edit_set_audio_tracks_front (brasero_jacket_edit_get_front (BRASERO_JACKET_EDIT (edit)),
+	brasero_jacket_edit_freeze (contents);
+	brasero_jacket_edit_set_audio_tracks_front (brasero_jacket_edit_get_front (contents),
 						    cover_value? g_value_get_string (cover_value):NULL,
 						    title);
-	brasero_jacket_edit_set_audio_tracks_back (brasero_jacket_edit_get_back (BRASERO_JACKET_EDIT (edit)), title, tracks);
-	brasero_jacket_edit_thaw (BRASERO_JACKET_EDIT (edit));
+	brasero_jacket_edit_set_audio_tracks_back (brasero_jacket_edit_get_back (contents), title, tracks);
+	brasero_jacket_edit_thaw (contents);
 
 	return edit;
 }



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