[gnome-documents] view: correctly initialize edge hit detection
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] view: correctly initialize edge hit detection
- Date: Tue, 23 Dec 2014 14:34:39 +0000 (UTC)
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]