brasero r1452 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1452 - in trunk: . src
- Date: Fri, 31 Oct 2008 21:12:18 +0000 (UTC)
Author: philippr
Date: Fri Oct 31 21:12:18 2008
New Revision: 1452
URL: http://svn.gnome.org/viewvc/brasero?rev=1452&view=rev
Log:
Fix for #554294 â brasero crashed with SIGSEGV in brasero_project_save_project_as()
* src/brasero-project.c (brasero_project_save_project_real),
(brasero_project_save_project_as):
Modified:
trunk/ChangeLog
trunk/src/brasero-project.c
Modified: trunk/src/brasero-project.c
==============================================================================
--- trunk/src/brasero-project.c (original)
+++ trunk/src/brasero-project.c Fri Oct 31 21:12:18 2008
@@ -2766,7 +2766,8 @@
return FALSE;
}
- if (save_type == BRASERO_PROJECT_SAVE_XML) {
+ if (save_type == BRASERO_PROJECT_SAVE_XML
+ || track.type == BRASERO_DISC_TRACK_DATA) {
brasero_project_set_uri (project, uri, track.type);
if (!brasero_project_save_project_xml (project,
uri ? uri : project->priv->project,
@@ -2881,7 +2882,7 @@
gboolean
brasero_project_save_project_as (BraseroProject *project)
{
- BraseroProjectSave type;
+ BraseroProjectSave type = BRASERO_PROJECT_SAVE_XML;
gboolean result;
gchar *uri;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]