[sushi] audio: don't redeclare existing variable
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] audio: don't redeclare existing variable
- Date: Mon, 19 Mar 2012 20:40:48 +0000 (UTC)
commit c5d741ea4c8f74c8973b735acf55c900a63bc612
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Mar 19 16:23:35 2012 -0400
audio: don't redeclare existing variable
src/js/viewers/audio.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/js/viewers/audio.js b/src/js/viewers/audio.js
index fe89168..38dc3f0 100644
--- a/src/js/viewers/audio.js
+++ b/src/js/viewers/audio.js
@@ -293,14 +293,14 @@ AudioRenderer.prototype = {
this._player.progress = this._progressBar.get_value() / 1000;
}));
- let item = new Gtk.ToolItem();
+ item = new Gtk.ToolItem();
item.set_expand(true);
item.add(this._progressBar);
item.show_all();
this._mainToolbar.insert(item, 2);
this._durationLabel = new Gtk.Label({ "margin-left": 3 });
- let item = new Gtk.ToolItem();
+ item = new Gtk.ToolItem();
item.add(this._durationLabel);
item.show_all();
this._mainToolbar.insert(item, 3);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]