[gnome-shell/wip/gtk-notification: 9/22] main: Make some unused variables private



commit b98b680e3d1af3704de06cb2a09fc6f2daaa22fe
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Oct 13 16:05:24 2013 -0400

    main: Make some unused variables private

 js/ui/main.js |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 6f961be..f797f73 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -44,7 +44,6 @@ const DEFAULT_BACKGROUND_COLOR = Clutter.Color.from_pixel(0x2e3436ff);
 const A11Y_SCHEMA = 'org.gnome.desktop.a11y.keyboard';
 const STICKY_KEYS_ENABLE = 'stickykeys-enable';
 
-let componentManager = null;
 let panel = null;
 let overview = null;
 let runDialog = null;
@@ -52,8 +51,6 @@ let lookingGlass = null;
 let wm = null;
 let messageTray = null;
 let screenShield = null;
-let notificationDaemon = null;
-let windowAttentionHandler = null;
 let ctrlAltTabManager = null;
 let osdWindow = null;
 let sessionMode = null;
@@ -173,9 +170,10 @@ function _initializeUI() {
     panel = new Panel.Panel();
     messageTray = new MessageTray.MessageTray();
     keyboard = new Keyboard.Keyboard();
-    notificationDaemon = new NotificationDaemon.NotificationDaemon();
-    windowAttentionHandler = new WindowAttentionHandler.WindowAttentionHandler();
-    componentManager = new Components.ComponentManager();
+
+    let windowAttentionHandler = new WindowAttentionHandler.WindowAttentionHandler();
+    let componentManager = new Components.ComponentManager();
+    let notificationDaemon = new NotificationDaemon.NotificationDaemon();
 
     layoutManager.init();
     overview.init();


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