summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_report.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/export_report.h')
-rw-r--r--gtk2_ardour/export_report.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/export_report.h b/gtk2_ardour/export_report.h
index 65339be701..4639cafc44 100644
--- a/gtk2_ardour/export_report.h
+++ b/gtk2_ardour/export_report.h
@@ -46,12 +46,12 @@ protected:
virtual void overlay (cairo_t* cr, cairo_rectangle_t* r) {}
- virtual void render (cairo_t* cr, cairo_rectangle_t* r)
+ virtual void render (Cairo::RefPtr<Cairo::Context> const& ctx, cairo_rectangle_t* r)
{
- cairo_rectangle (cr, r->x, r->y, r->width, r->height);
- cairo_clip (cr);
- background (cr, r);
- overlay (cr, r);
+ ctx->rectangle (r->x, r->y, r->width, r->height);
+ ctx->clip ();
+ background (ctx->cobj(), r);
+ overlay (ctx->cobj(), r);
}
Cairo::RefPtr<Cairo::ImageSurface> _surface;