From c5f80e704c8391696c2d006a7f41ed7ca9de2027 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 25 Aug 2017 18:19:17 +0200 Subject: libview: : avoid deprecated gtk_adjustment_changed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gtk_adjustment_changed has been deprecated since version 3.18 and GTK+ emits “changed” itself whenever any of the properties (other than value) change. see https://developer.gnome.org/gtk3/unstable/GtkAdjustment.html#gtk-adjustment-changed --- libview/ev-view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libview/ev-view.c b/libview/ev-view.c index 63b2a930..d93d4ad4 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -626,7 +626,9 @@ view_set_adjustment_values (EvView *view, break; } +#if !GTK_CHECK_VERSION (3,18,0) gtk_adjustment_changed (adjustment); +#endif } static void -- cgit v1.2.1