summaryrefslogtreecommitdiff
path: root/cups
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2021-03-18 13:36:13 +0000
committerRobin Watts <Robin.Watts@artifex.com>2021-04-20 15:03:01 +0100
commitf3892f9380a0af0875ab9c8d3a60a98beec0ac4a (patch)
treef24120b7fd8de38c67802c68882822eb0d7f587e /cups
parent4d9a796db91e85a55505773e16d3b877e3ff5591 (diff)
downloadghostpdl-f3892f9380a0af0875ab9c8d3a60a98beec0ac4a.tar.gz
Rename finish_copydevice to initialize, and remove second param.
It used to be that finish_copydevice(dev, const old_dev) would be used to copy stuff from a prototype to a new instance of a device. Now, no copying is ever done. Also, it's a confusing name. Rename it to be 'initialize', which is clearer. Also, it should become even more appropriate in future, if we have this function be the one that is responsible for filling out the procs.
Diffstat (limited to 'cups')
-rw-r--r--cups/gdevcups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/gdevcups.c b/cups/gdevcups.c
index 84c535fc5..926290fd0 100644
--- a/cups/gdevcups.c
+++ b/cups/gdevcups.c
@@ -366,7 +366,7 @@ private gx_device_procs cups_procs =
NULL, /* create_compositor */
NULL, /* get_hardware_params */
NULL, /* text_begin */
- NULL, /* finish_copydevice */
+ NULL, /* initialize */
NULL, /* begin_transparency_group */
NULL, /* end_transparency_group */
NULL, /* begin_transparency_mask */