diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2021-03-18 13:36:13 +0000 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2021-04-20 15:03:01 +0100 |
commit | f3892f9380a0af0875ab9c8d3a60a98beec0ac4a (patch) | |
tree | f24120b7fd8de38c67802c68882822eb0d7f587e /devices/gdevpng.c | |
parent | 4d9a796db91e85a55505773e16d3b877e3ff5591 (diff) | |
download | ghostpdl-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/gdevpng.c')
-rw-r--r-- | devices/gdevpng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/gdevpng.c b/devices/gdevpng.c index 4833efb19..6eb32c366 100644 --- a/devices/gdevpng.c +++ b/devices/gdevpng.c @@ -261,7 +261,7 @@ static const gx_device_procs pngalpha_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 */ |