From 75173c8f5ebdac9a095a466af602d6b07324029f Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 21 Jan 2014 17:10:42 +0100 Subject: libview: Add GTK3 support --- libview/ev-view-private.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libview/ev-view-private.h') 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; -- cgit v1.2.1