brasero r751 - in trunk: . src



Author: philippr
Date: Tue Apr 22 09:26:46 2008
New Revision: 751
URL: http://svn.gnome.org/viewvc/brasero?rev=751&view=rev

Log:
	Fixed a crash when copying a medium with same dest and source drive

	* src/burn-session.c (brasero_burn_session_set_image_output_full):


Modified:
   trunk/ChangeLog
   trunk/src/burn-session.c

Modified: trunk/src/burn-session.c
==============================================================================
--- trunk/src/burn-session.c	(original)
+++ trunk/src/burn-session.c	Tue Apr 22 09:26:46 2008
@@ -727,11 +727,13 @@
 
 	if (!BRASERO_BURN_SESSION_WRITE_TO_FILE (priv)) {
 		BraseroMediumMonitor *monitor;
+		BraseroDrive *drive;
 		GSList *list;
 
 		monitor = brasero_medium_monitor_get_default ();
 		list = brasero_medium_monitor_get_media (monitor, BRASERO_MEDIA_TYPE_FILE);
-		brasero_burn_session_set_burner (self, list->data);
+		drive = brasero_medium_get_drive (list->data);
+		brasero_burn_session_set_burner (self, drive);
 		g_object_unref (monitor);
 		g_slist_free (list);
 	}



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