brasero r1045 - in trunk: . src



Author: philippr
Date: Mon Aug  4 07:21:58 2008
New Revision: 1045
URL: http://svn.gnome.org/viewvc/brasero?rev=1045&view=rev

Log:
	Fixed a warning that could have led to a crash

	* src/burn-job.c (brasero_job_get_max_speed):


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

Modified: trunk/src/burn-job.c
==============================================================================
--- trunk/src/burn-job.c	(original)
+++ trunk/src/burn-job.c	Mon Aug  4 07:21:58 2008
@@ -1567,6 +1567,7 @@
 	session = brasero_task_ctx_get_session (priv->ctx);
 
 	drive = brasero_burn_session_get_burner (session);
+	medium = brasero_drive_get_medium (drive);
 	rate = brasero_medium_get_max_write_speed (medium);
 	media = brasero_medium_get_status (medium);
 	if (media & (BRASERO_MEDIUM_DVD|BRASERO_MEDIUM_DVD_DL))



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