summaryrefslogtreecommitdiff
path: root/src/eom-scroll-view.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-scroll-view.h')
-rw-r--r--src/eom-scroll-view.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/eom-scroll-view.h b/src/eom-scroll-view.h
index 7ed6181..24ad306 100644
--- a/src/eom-scroll-view.h
+++ b/src/eom-scroll-view.h
@@ -18,13 +18,21 @@ typedef struct _EomScrollViewPrivate EomScrollViewPrivate;
struct _EomScrollView {
+#if GTK_CHECK_VERSION (3, 4, 0)
+ GtkGrid base_instance;
+#else
GtkTable widget;
+#endif
EomScrollViewPrivate *priv;
};
struct _EomScrollViewClass {
+#if GTK_CHECK_VERSION (3, 4, 0)
+ GtkGridClass parent_class;
+#else
GtkTableClass parent_class;
+#endif
void (* zoom_changed) (EomScrollView *view, double zoom);
};