[gnome-shell] background: Remove unused variable
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] background: Remove unused variable
- Date: Wed, 4 Dec 2013 00:23:01 +0000 (UTC)
commit adb49bdf0bdba10658cbf81aeb5164b9cfc95eea
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Dec 3 17:27:28 2013 -0500
background: Remove unused variable
https://bugzilla.gnome.org/show_bug.cgi?id=719803
js/ui/background.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/background.js b/js/ui/background.js
index af69f9d..06db8f0 100644
--- a/js/ui/background.js
+++ b/js/ui/background.js
@@ -728,8 +728,8 @@ const BackgroundManager = new Lang.Class({
}
},
- _updateBackground: function(background, monitorIndex) {
- let newBackground = this._createBackground(monitorIndex);
+ _updateBackground: function(background) {
+ let newBackground = this._createBackground();
newBackground.vignetteSharpness = background.vignetteSharpness;
newBackground.brightness = background.brightness;
newBackground.visible = background.visible;
@@ -778,7 +778,7 @@ const BackgroundManager = new Lang.Class({
background.changeSignalId = background.connect('changed', Lang.bind(this, function() {
background.disconnect(background.changeSignalId);
background.changeSignalId = 0;
- this._updateBackground(background, this._monitorIndex);
+ this._updateBackground(background);
}));
background.actor.connect('destroy', Lang.bind(this, function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]