[gnome-shell] workspace: Fix style



commit 8c6a2874ffe39e55b7445ccffcb93c48b4cfd9a6
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Jul 18 00:59:06 2014 +0200

    workspace: Fix style

 js/ui/workspace.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index 1303bab..5fd055b 100644
--- a/js/ui/workspace.js
+++ b/js/ui/workspace.js
@@ -87,7 +87,7 @@ const WindowCloneLayout = new Lang.Class({
     },
 
     vfunc_allocate: function(container, box, flags) {
-        let clone = container.get_children().forEach(function (child) {
+        container.get_children().forEach(Lang.bind(this, function (child) {
             let realWindow;
             if (child == container._delegate._windowClone)
                 realWindow = container._delegate.realWindow;
@@ -96,8 +96,8 @@ const WindowCloneLayout = new Lang.Class({
 
             child.allocate(this._makeBoxForWindow(realWindow.meta_window),
                            flags);
-        }, this);
-    },
+        }));
+    }
 });
 
 const WindowClone = new Lang.Class({


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