From 516dc9e50975ef245f7367b35eb038787f81708c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 26 Jul 2012 13:11:36 -0700 Subject: Fix dependence on Cairo >= 1.6.0 cairo_surface_show_page() is only available from Cairo 1.6.0 onwards, but cairo_show_page() is just as easy and is available from 1.2.0. --- src/scaling-report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scaling-report.c b/src/scaling-report.c index 4c2390b5..ba425b96 100644 --- a/src/scaling-report.c +++ b/src/scaling-report.c @@ -716,7 +716,7 @@ static void watermark(struct _srcontext *sr) static void new_page(struct _srcontext *sr) { - cairo_surface_show_page(sr->surf); + cairo_show_page(sr->cr); watermark(sr); } -- cgit v1.2.3