diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-13 21:59:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 08:08:37 +0100 |
commit | 7306305cc898c9f27957c6c6717028cbdcff6a5a (patch) | |
tree | f983b7d2293473a91b5baa653789ba43ee279872 /boilerplate | |
parent | 052211b072788f0977dccebdcf681d4874f2487a (diff) |
[script] Emit surface content
Include the desired content with the creation info.
Diffstat (limited to 'boilerplate')
-rw-r--r-- | boilerplate/cairo-boilerplate-script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boilerplate/cairo-boilerplate-script.c b/boilerplate/cairo-boilerplate-script.c index b944a55d..d1d76b5c 100644 --- a/boilerplate/cairo-boilerplate-script.c +++ b/boilerplate/cairo-boilerplate-script.c @@ -61,7 +61,7 @@ _cairo_boilerplate_script_create_surface (const char *name, xunlink (ptc->filename); ctx = cairo_script_context_create (ptc->filename); - surface = cairo_script_surface_create (ctx, width, height); + surface = cairo_script_surface_create (ctx, content, width, height); cairo_script_context_destroy (ctx); status = cairo_surface_set_user_data (surface, |