diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-03-02 15:51:12 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-08 19:45:27 +0100 |
commit | f7a77f9881d5cd1d360b043d6b619216603941dd (patch) | |
tree | f51302aa48c9a0cda58d72dd4e575ae9eeadb102 /common/cairo_canvas.h | |
parent | c0fdcd1a10d0eae92fec9e00382b445d669c7428 (diff) | |
download | spice-f7a77f9881d5cd1d360b043d6b619216603941dd.tar.gz spice-f7a77f9881d5cd1d360b043d6b619216603941dd.tar.xz spice-f7a77f9881d5cd1d360b043d6b619216603941dd.zip |
Make glz_decoder non-optional canvas_base in canvas constructors
It can still be NULL, but we simplify the headers by always including it.
There is no practical performance difference here.
Diffstat (limited to 'common/cairo_canvas.h')
-rw-r--r-- | common/cairo_canvas.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/cairo_canvas.h b/common/cairo_canvas.h index 390c61cf..38009035 100644 --- a/common/cairo_canvas.h +++ b/common/cairo_canvas.h @@ -69,9 +69,7 @@ CairoCanvas *canvas_create(pixman_image_t *image, int bits, #else CairoCanvas *canvas_create(pixman_image_t *image, int bits #endif -#ifdef USE_GLZ , SpiceGlzDecoder *glz_decoder -#endif #ifndef CAIRO_CANVAS_NO_CHUNKS , void *get_virt_opaque, get_virt_fn_t get_virt, void *validate_virt_opaque, validate_virt_fn_t validate_virt |