aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-07-26 13:11:36 -0700
committerThomas White <taw@bitwiz.org.uk>2012-07-26 13:11:36 -0700
commit516dc9e50975ef245f7367b35eb038787f81708c (patch)
tree944093a37f877f9b81a671d17b60cb2edbf6fe5c
parentbe9b512b15a80d2c798f719b0a1024294e0e708c (diff)
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.
-rw-r--r--src/scaling-report.c2
1 files changed, 1 insertions, 1 deletions
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);
}