[brasero/gnome-2-28] Remove useless operation
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero/gnome-2-28] Remove useless operation
- Date: Mon, 19 Oct 2009 15:15:44 +0000 (UTC)
commit 07dd9d5e6bf3659eb85ae5e8f806c6c3d69bf31e
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Mon Oct 12 09:46:03 2009 +0200
Remove useless operation
libbrasero-burn/brasero-burn.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn.c b/libbrasero-burn/brasero-burn.c
index e9dc2e9..5f9fa70 100644
--- a/libbrasero-burn/brasero-burn.c
+++ b/libbrasero-burn/brasero-burn.c
@@ -2612,11 +2612,9 @@ again:
if (result != BRASERO_BURN_OK)
return result;
- /* update the flags now before locking it since in lock function
- * we check the adequacy of the medium inserted. */
- result = brasero_burn_check_session_consistency (burn, error);
- if (result == BRASERO_BURN_CANCEL)
- return result;
+ /* Note: we don't need to update the flags anymore
+ * as they are updated in brasero_burn_run_tasks ()
+ * anyway. */
if (result != BRASERO_BURN_OK) {
/* Tell the user his/her disc is not supported and reload */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]