brasero r751 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r751 - in trunk: . src
- Date: Tue, 22 Apr 2008 10:26:47 +0100 (BST)
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]