[gnome-shell] Fix some more undefined property warnings



commit ecddf1fffd416abd8db63cb1b670b6249e355b86
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Sep 17 10:37:17 2017 +0200

    Fix some more undefined property warnings
    
    https://bugzilla.gnome.org/show_bug.cgi?id=787907

 js/ui/dnd.js                    |    1 +
 js/ui/workspace.js              |    1 +
 js/ui/workspaceSwitcherPopup.js |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/dnd.js b/js/ui/dnd.js
index da227e9..404c638 100644
--- a/js/ui/dnd.js
+++ b/js/ui/dnd.js
@@ -94,6 +94,7 @@ var _Draggable = new Lang.Class({
             this.disconnectAll();
         }));
         this._onEventId = null;
+        this._touchSequence = null;
 
         this._restoreOnSuccess = params.restoreOnSuccess;
         this._dragActorMaxSize = params.dragActorMaxSize;
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index e6a6da9..3d78601 100644
--- a/js/ui/workspace.js
+++ b/js/ui/workspace.js
@@ -1090,6 +1090,7 @@ var Workspace = new Lang.Class({
         // do some simple aspect ratio like math to fit the layout calculated
         // for the full geometry into this area.
         this._actualGeometry = null;
+        this._actualGeometryLater = 0;
 
         this._currentLayout = null;
 
diff --git a/js/ui/workspaceSwitcherPopup.js b/js/ui/workspaceSwitcherPopup.js
index 9ddd364..7b49b98 100644
--- a/js/ui/workspaceSwitcherPopup.js
+++ b/js/ui/workspaceSwitcherPopup.js
@@ -31,6 +31,7 @@ var WorkspaceSwitcherPopup = new Lang.Class({
         this._itemSpacing = 0;
         this._childHeight = 0;
         this._childWidth = 0;
+        this._timeoutId = 0;
         this._list.connect('style-changed', Lang.bind(this, function() {
                                                         this._itemSpacing = 
this._list.get_theme_node().get_length('spacing');
                                                      }));


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