[gnome-shell] background: Remove a couple of unused variables
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] background: Remove a couple of unused variables
- Date: Tue, 31 Jan 2017 13:00:58 +0000 (UTC)
commit 9f6f48025d3005748f1f50d86e737f8670ad563e
Author: Rui Matos <tiagomatos gmail com>
Date: Mon Jan 30 13:28:16 2017 +0100
background: Remove a couple of unused variables
Nothing uses these.
https://bugzilla.gnome.org/show_bug.cgi?id=777934
js/ui/background.js | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/background.js b/js/ui/background.js
index 622a59a..9b36029 100644
--- a/js/ui/background.js
+++ b/js/ui/background.js
@@ -142,7 +142,6 @@ const BackgroundCache = new Lang.Class({
Name: 'BackgroundCache',
_init: function() {
- this._pendingFileLoads = [];
this._fileMonitors = {};
this._backgroundSources = {};
this._animations = {};
@@ -377,11 +376,9 @@ const Background = new Lang.Class({
let cache = Meta.BackgroundImageCache.get_default();
let numPendingImages = files.length;
- let images = [];
for (let i = 0; i < files.length; i++) {
this._watchFile(files[i]);
let image = cache.load(files[i]);
- images.push(image);
if (image.is_loaded()) {
numPendingImages--;
if (numPendingImages == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]