summaryrefslogtreecommitdiff
path: root/libview/ev-view-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r--libview/ev-view-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index 5ad133b4..47b57679 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -132,6 +132,12 @@ struct _EvView {
/* Scrolling */
GtkAdjustment *hadjustment;
GtkAdjustment *vadjustment;
+#if GTK_CHECK_VERSION (3, 0, 0)
+ /* GtkScrollablePolicy needs to be checked when
+ * driving the scrollable adjustment values */
+ guint hscroll_policy : 1;
+ guint vscroll_policy : 1;
+#endif
gint scroll_x;
gint scroll_y;