[gnome-shell] main: drop superfluous Lang.bind(this, ...)



commit 3368e49aa78e4ba67ef341f038d8de309ecd64e8
Author: Ray Strode <rstrode redhat com>
Date:   Mon Mar 4 11:34:17 2013 -0500

    main: drop superfluous Lang.bind(this, ...)
    
    Jasper noticed this and I forgot to clean it up before pushing,
    then I just noticed it again when doing some other patches
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694326

 js/ui/main.js |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 3c4cba5..d3ce7df 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -199,10 +199,9 @@ function startSession() {
     ExtensionDownloader.init();
     ExtensionSystem.init();
 
-    layoutManager.connect('startup-prepared',
-                          Lang.bind(this, function() {
+    layoutManager.connect('startup-prepared', function() {
                               layoutManager.startupAnimation();
-                          }));
+                          });
 }
 
 let _workspaces = [];


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