[gnome-documents] view: use new edge-reached signal from GtkScrolledWindow



commit 4d5e1dea3d4001dced6e26a59ca5893dea85bc55
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun Jan 25 11:53:05 2015 +0000

    view: use new edge-reached signal from GtkScrolledWindow
    
    Instead of edge-overshot.
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=738881

 configure.ac |    2 +-
 src/view.js  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bc11dd4..b6e31f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,7 @@ AC_SUBST(LIBM)
 EVINCE_MIN_VERSION=3.13.3
 WEBKITGTK_MIN_VERSION=2.6.0
 GLIB_MIN_VERSION=2.39.3
-GTK_MIN_VERSION=3.15.3
+GTK_MIN_VERSION=3.15.4
 GOBJECT_INTROSPECTION_MIN_VERSION=1.31.6
 GDATA_MIN_VERSION=0.13.3
 GOA_MIN_VERSION=3.2.0
diff --git a/src/view.js b/src/view.js
index 40dbffe..0b3002c 100644
--- a/src/view.js
+++ b/src/view.js
@@ -346,7 +346,7 @@ const ViewContainer = new Lang.Class({
     },
 
     _connectView: function() {
-        this._edgeHitId = this.view.connect('edge-overshot', Lang.bind(this,
+        this._edgeHitId = this.view.connect('edge-reached', Lang.bind(this,
             function (view, pos) {
                 if (pos == Gtk.PositionType.BOTTOM)
                     Application.offsetController.increaseOffset();


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