diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-01-18 23:11:19 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-01-22 23:01:50 +0000 |
commit | 3acd520c9dec89e72d7ff61adb1ae30bab12e256 (patch) | |
tree | 1b513d37583f3cb9e9ae6090e6b290367d3258b4 /util/trace-to-xml.c | |
parent | 49ab86772a44d7a044464d875324bd0af96af728 (diff) |
xml: Port to cairo_device_t
Diffstat (limited to 'util/trace-to-xml.c')
-rw-r--r-- | util/trace-to-xml.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/util/trace-to-xml.c b/util/trace-to-xml.c index 416d8e1f..a0f03ccf 100644 --- a/util/trace-to-xml.c +++ b/util/trace-to-xml.c @@ -11,7 +11,8 @@ static cairo_surface_t * _surface_create (void *_closure, cairo_content_t content, - double width, double height) + double width, double height, + long uid) { cairo_surface_t **closure = _closure; cairo_surface_t *surface; @@ -59,11 +60,11 @@ main (int argc, char **argv) cairo_script_interpreter_destroy (csi); if (surface != NULL) { - cairo_xml_t *xml; + cairo_device_t *xml; xml = cairo_xml_create_for_stream (stdio_write, out); cairo_xml_for_recording_surface (xml, surface); - cairo_xml_destroy (xml); + cairo_device_destroy (xml); cairo_surface_destroy (surface); } |