summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index c0007d75..e3b4c9f6 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -3208,6 +3208,7 @@ ev_view_size_request (GtkWidget *widget,
*requisition = view->requisition;
}
+#if GTK_CHECK_VERSION (3, 0, 0)
static void
ev_view_get_preferred_width (GtkWidget *widget,
gint *minimum,
@@ -3231,6 +3232,7 @@ ev_view_get_preferred_height (GtkWidget *widget,
*minimum = *natural = requisition.height;
}
+#endif
static void
ev_view_size_allocate (GtkWidget *widget,