workspace: Fix style

This commit is contained in:
Florian Müllner 2014-07-18 00:59:06 +02:00
parent 557130d2f2
commit 8c6a2874ff

View File

@ -87,7 +87,7 @@ const WindowCloneLayout = new Lang.Class({
}, },
vfunc_allocate: function(container, box, flags) { 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; let realWindow;
if (child == container._delegate._windowClone) if (child == container._delegate._windowClone)
realWindow = container._delegate.realWindow; realWindow = container._delegate.realWindow;
@ -96,8 +96,8 @@ const WindowCloneLayout = new Lang.Class({
child.allocate(this._makeBoxForWindow(realWindow.meta_window), child.allocate(this._makeBoxForWindow(realWindow.meta_window),
flags); flags);
}, this); }));
}, }
}); });
const WindowClone = new Lang.Class({ const WindowClone = new Lang.Class({