[gnome-shell-extensions] native-window-placement: fix undefined variable warning



commit dd9b47e51e4c748da8f6520b01e157451ea544ee
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Jun 8 14:02:00 2012 +0200

    native-window-placement: fix undefined variable warning

 extensions/native-window-placement/extension.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/native-window-placement/extension.js b/extensions/native-window-placement/extension.js
index 316d2e3..50e727c 100644
--- a/extensions/native-window-placement/extension.js
+++ b/extensions/native-window-placement/extension.js
@@ -123,7 +123,7 @@ function enable() {
 
     let settings = Convenience.getSettings();
     let useMoreScreen = settings.get_boolean('use-more-screen');
-    signalId = settings.connect('changed::use-more-screen', function() {
+    let signalId = settings.connect('changed::use-more-screen', function() {
         useMoreScreen = settings.get_boolean('use-more-screen');
     });
     connectedSignals.push({ obj: settings, id: signalId });



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]