diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-07-26 13:11:36 -0700 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2012-07-26 13:11:36 -0700 |
commit | 516dc9e50975ef245f7367b35eb038787f81708c (patch) | |
tree | 944093a37f877f9b81a671d17b60cb2edbf6fe5c /src/scaling-report.c | |
parent | be9b512b15a80d2c798f719b0a1024294e0e708c (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.
Diffstat (limited to 'src/scaling-report.c')
-rw-r--r-- | src/scaling-report.c | 2 |
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); } |