[gnome-music] removed redundant i in ArtistAlbumWidget
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] removed redundant i in ArtistAlbumWidget
- Date: Mon, 22 Apr 2013 16:08:23 +0000 (UTC)
commit e397f50780aaba486c59e7a58b6c95238191c22e
Author: Seif Lotfy <seif lotfy com>
Date: Mon Apr 22 18:07:40 2013 +0200
removed redundant i in ArtistAlbumWidget
src/widgets.js | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/widgets.js b/src/widgets.js
index acb049e..8354b31 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -314,7 +314,6 @@ const ArtistAlbumWidget = new Lang.Class({
ui.get_object("num").set_text(this.songs.length.toString());
if (track.get_title() != null)
ui.get_object("title").set_text(track.get_title());
- var i = this.songs.length - 1;
this.ui.get_object("grid1").attach(songWidget,
parseInt(i/(this.tracks.length/2)),
parseInt((i)%(this.tracks.length/2)), 1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]