[brasero] Don't ask for another disc as if it were a spanned session when it's not
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Subject: [brasero] Don't ask for another disc as if it were a spanned session when it's not
- Date: Sat, 23 May 2009 11:29:39 -0400 (EDT)
commit e6b60e3b95bc43632fbe5ac9055f4f71c079ff05
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sat May 23 17:17:24 2009 +0200
Don't ask for another disc as if it were a spanned session when it's not
---
libbrasero-burn/brasero-session-span.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libbrasero-burn/brasero-session-span.c b/libbrasero-burn/brasero-session-span.c
index 71babfa..2e9ac25 100644
--- a/libbrasero-burn/brasero-session-span.c
+++ b/libbrasero-burn/brasero-session-span.c
@@ -91,8 +91,10 @@ brasero_session_span_again (BraseroSessionSpan *session)
g_return_val_if_fail (BRASERO_IS_SESSION_SPAN (session), BRASERO_BURN_ERR);
priv = BRASERO_SESSION_SPAN_PRIVATE (session);
+
+ /* This is not an error */
if (!priv->track_list)
- return BRASERO_BURN_ERR;
+ return BRASERO_BURN_OK;
if (priv->last_track) {
tracks = g_slist_find (priv->track_list, priv->last_track);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]