layout: Fix tray barrier never getting destroyed

Due to a typo, we accidentally set trayPressure to null,
making the next branch always fail.

https://bugzilla.gnome.org/show_bug.cgi?id=694070
This commit is contained in:
Jasper St. Pierre 2013-02-18 04:45:06 -05:00
parent 5e87fea1ee
commit 7b1aab3759

View File

@ -379,7 +379,7 @@ const LayoutManager = new Lang.Class({
if (this._trayBarrier) { if (this._trayBarrier) {
this._trayBarrier.destroy(); this._trayBarrier.destroy();
this._trayPressure = null; this._trayBarrier = null;
} }
if (this._trayPressure) { if (this._trayPressure) {