[gnome-documents] view: correctly initialize edge hit detection



commit d775071f154843e31d135b7dcec3e0c2ba9a4d32
Author: Cosimo Cecchi <cosimo endlesm com>
Date:   Tue Dec 23 21:19:50 2014 +0800

    view: correctly initialize edge hit detection
    
    Avoids a critical at startup.

 src/view.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/view.js b/src/view.js
index 196065d..39c6c3e 100644
--- a/src/view.js
+++ b/src/view.js
@@ -115,9 +115,7 @@ const ViewContainer = new Lang.Class({
     Name: 'ViewContainer',
 
     _init: function() {
-        this._adjustmentValueId = 0;
-        this._adjustmentChangedId = 0;
-        this._scrollbarVisibleId = 0;
+        this._edgeHitId = 0;
 
         this._model = new ViewModel();
 


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