[brasero] Set start and end points correctly when reading a project file



commit cf70b813b57495bb7989544430970dcab18af23b
Author: Jonathan Matthew <jonathan d14n org>
Date:   Fri Jan 22 18:02:19 2010 +1000

    Set start and end points correctly when reading a project file
    
    Previously the start point was set as the end point and vice versa.

 src/brasero-project-parse.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/brasero-project-parse.c b/src/brasero-project-parse.c
index b8e421e..5eebaeb 100644
--- a/src/brasero-project-parse.c
+++ b/src/brasero-project-parse.c
@@ -253,8 +253,8 @@ _read_audio_track (xmlDocPtr project,
 				goto error;
 
                         brasero_track_stream_set_boundaries (BRASERO_TRACK_STREAM (track),
-                                                                                     -1,
                                                                                      g_ascii_strtoull (start, NULL, 10),
+                                                                                     -1,
                                                                                      -1);
 			g_free (start);
 		}
@@ -268,8 +268,8 @@ _read_audio_track (xmlDocPtr project,
 				goto error;
 
                         brasero_track_stream_set_boundaries (BRASERO_TRACK_STREAM (track),
-                                                                                      g_ascii_strtoull (end, NULL, 10),
                                                                                       -1,
+                                                                                      g_ascii_strtoull (end, NULL, 10),
                                                                                       -1);
 			g_free (end);
 		}



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