summaryrefslogtreecommitdiff
path: root/boilerplate/cairo-boilerplate-win32-printing.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-06-30 18:27:54 +0200
committerBenjamin Otte <otte@redhat.com>2010-07-03 02:55:52 +0200
commita1c4b001a548611b7d77e9280fdb5a82da275830 (patch)
tree4aecb01e880109466e219f06be2b663499219c10 /boilerplate/cairo-boilerplate-win32-printing.c
parent4c039b1cdfac5b5d6aa0c38f0779213fd14ec7de (diff)
downloadcairo-a1c4b001a548611b7d77e9280fdb5a82da275830.tar.gz
boilerplate: Add a describe vfunc
This function is supposed to describe the backend in use. The describe function is optional - and therefore initialized as NULL everywhere. Note: It is well known that the xlib backend uses X. What is not known is what version the server supports or what graphics card it is running on. That is the information the describe vfunc is supposed to provide.
Diffstat (limited to 'boilerplate/cairo-boilerplate-win32-printing.c')
-rw-r--r--boilerplate/cairo-boilerplate-win32-printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/boilerplate/cairo-boilerplate-win32-printing.c b/boilerplate/cairo-boilerplate-win32-printing.c
index e1509951b..0d7062045 100644
--- a/boilerplate/cairo-boilerplate-win32-printing.c
+++ b/boilerplate/cairo-boilerplate-win32-printing.c
@@ -354,7 +354,7 @@ static const cairo_boilerplate_target_t targets[] = {
_cairo_boilerplate_win32_printing_get_image_surface,
_cairo_boilerplate_win32_printing_surface_write_to_png,
_cairo_boilerplate_win32_printing_cleanup,
- NULL, FALSE, TRUE, TRUE
+ NULL, NULL, FALSE, TRUE, TRUE
},
{
"win32-printing", "win32", ".ps", NULL,
@@ -365,7 +365,7 @@ static const cairo_boilerplate_target_t targets[] = {
_cairo_boilerplate_win32_printing_get_image_surface,
_cairo_boilerplate_win32_printing_surface_write_to_png,
_cairo_boilerplate_win32_printing_cleanup,
- NULL, FALSE, TRUE, TRUE
+ NULL, NULL, FALSE, TRUE, TRUE
},
#endif
};