summaryrefslogtreecommitdiff
path: root/libview/ev-view-private.h
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-23 18:15:54 +0300
committermonsta <[email protected]>2016-11-23 18:15:54 +0300
commitae5f4711a21508a70d7123dbc0efb610af1289a2 (patch)
tree54d4a9de3b092aa772ed8799fcf30e11e19ff93f /libview/ev-view-private.h
parent7884bbe50fe8b8c26e68b8077c18047861c2dd0c (diff)
downloadatril-ae5f4711a21508a70d7123dbc0efb610af1289a2.tar.bz2
atril-ae5f4711a21508a70d7123dbc0efb610af1289a2.tar.xz
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
and require caja >= 1.17.1
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,