summaryrefslogtreecommitdiff
path: root/devices/gdevxcf.c
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 /devices/gdevxcf.c
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 'devices/gdevxcf.c')
-rw-r--r--devices/gdevxcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/gdevxcf.c b/devices/gdevxcf.c
index 18ff322e4..86b635e57 100644
--- a/devices/gdevxcf.c
+++ b/devices/gdevxcf.c
@@ -180,7 +180,7 @@ typedef struct xcf_device_s {
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 */\