summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-08-25 18:19:17 +0200
committerraveit65 <[email protected]>2017-08-25 18:19:17 +0200
commitc5f80e704c8391696c2d006a7f41ed7ca9de2027 (patch)
treea362aa3887473d3391cd5e4348be0e9a12928a1a /libview
parentabe1d3a3a58d3182325f2a160edf7d415faed672 (diff)
downloadatril-c5f80e704c8391696c2d006a7f41ed7ca9de2027.tar.bz2
atril-c5f80e704c8391696c2d006a7f41ed7ca9de2027.tar.xz
libview: : avoid deprecated gtk_adjustment_changed
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
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c2
1 files changed, 2 insertions, 0 deletions
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