[gnome-shell] layout: Fix tray barrier never getting destroyed



commit 7b1aab3759966021a61c827aa7a2f20d2b5567ed
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Feb 18 04:45:06 2013 -0500

    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

 js/ui/layout.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index d855ade..0e69dfc 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -379,7 +379,7 @@ const LayoutManager = new Lang.Class({
 
         if (this._trayBarrier) {
             this._trayBarrier.destroy();
-            this._trayPressure = null;
+            this._trayBarrier = null;
         }
 
         if (this._trayPressure) {


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