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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index b6c0ea5f..b18dcc00 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -109,14 +109,10 @@ typedef struct _EvHeightToPageCache {
} EvHeightToPageCache;
struct _EvView {
-#if GTK_CHECK_VERSION (3, 0, 0)
GtkContainer layout;
/* Container */
GList *children;
-#else
- GtkLayout layout;
-#endif
EvDocument *document;
@@ -140,12 +136,10 @@ 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;
@@ -211,11 +205,7 @@ struct _EvView {
};
struct _EvViewClass {
-#if GTK_CHECK_VERSION (3, 0, 0)
GtkContainerClass parent_class;
-#else
- GtkLayoutClass parent_class;
-#endif
void (*binding_activated) (EvView *view,
GtkScrollType scroll,