summaryrefslogtreecommitdiff
path: root/contrib
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 /contrib
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 'contrib')
-rw-r--r--contrib/japanese/gdevmjc.c2
-rw-r--r--contrib/opvp/gdevopvp.c2
-rw-r--r--contrib/pcl3/eprn/gdeveprn.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/japanese/gdevmjc.c b/contrib/japanese/gdevmjc.c
index b132167d3..80d489c57 100644
--- a/contrib/japanese/gdevmjc.c
+++ b/contrib/japanese/gdevmjc.c
@@ -252,7 +252,7 @@ typedef struct gx_device_mj_s gx_device_mj;
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 */\
diff --git a/contrib/opvp/gdevopvp.c b/contrib/opvp/gdevopvp.c
index 60276f3fa..7c80dc32e 100644
--- a/contrib/opvp/gdevopvp.c
+++ b/contrib/opvp/gdevopvp.c
@@ -341,7 +341,7 @@ gs_public_st_suffix_add0_final(
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 */\
diff --git a/contrib/pcl3/eprn/gdeveprn.h b/contrib/pcl3/eprn/gdeveprn.h
index e71799bd8..e81afeae6 100644
--- a/contrib/pcl3/eprn/gdeveprn.h
+++ b/contrib/pcl3/eprn/gdeveprn.h
@@ -724,7 +724,7 @@ extern dev_proc_fillpage(eprn_fillpage);
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 */ \