pdb: add jehan_pdb_misc() and use it in the new procedures

so they have the correct aithor.
This commit is contained in:
Michael Natterer
2018-03-18 13:57:43 +01:00
parent 1789f0fe2a
commit 753bd0a0c9
3 changed files with 10 additions and 6 deletions

View File

@ -5234,8 +5234,8 @@ register_context_procs (GimpPDB *pdb)
"gimp-context-get-distance-metric", "gimp-context-get-distance-metric",
"Get the distance metric used in some computations.", "Get the distance metric used in some computations.",
"This procedure returns the distance metric in the current context. See 'gimp-context-set-distance-metric' to know more about its usage.", "This procedure returns the distance metric in the current context. See 'gimp-context-set-distance-metric' to know more about its usage.",
"Ed Swartz", "Jehan",
"Ed Swartz", "Jehan",
"2018", "2018",
NULL); NULL);
gimp_procedure_add_return_value (procedure, gimp_procedure_add_return_value (procedure,
@ -5258,8 +5258,8 @@ register_context_procs (GimpPDB *pdb)
"gimp-context-set-distance-metric", "gimp-context-set-distance-metric",
"Set the distance metric used in some computations.", "Set the distance metric used in some computations.",
"This procedure modifies the distance metric used in some computations, such as 'gimp-edit-blend'. In particular, it does not change the metric used in generic distance computation on canvas, as in the Measure tool.", "This procedure modifies the distance metric used in some computations, such as 'gimp-edit-blend'. In particular, it does not change the metric used in generic distance computation on canvas, as in the Measure tool.",
"Ed Swartz", "Jehan",
"Ed Swartz", "Jehan",
"2018", "2018",
NULL); NULL);
gimp_procedure_add_argument (procedure, gimp_procedure_add_argument (procedure,

View File

@ -3040,7 +3040,7 @@ This procedure returns the distance metric in the current context.
See gimp_context_set_distance_metric() to know more about its usage. See gimp_context_set_distance_metric() to know more about its usage.
HELP HELP
&ejs_pdb_misc('2018', '2.10'); &jehan_pdb_misc('2018', '2.10');
@outargs = ( @outargs = (
{ name => 'metric', type => 'enum GeglDistanceMetric', { name => 'metric', type => 'enum GeglDistanceMetric',
@ -3067,7 +3067,7 @@ such as gimp_edit_blend(). In particular, it does not change the metric used
in generic distance computation on canvas, as in the Measure tool. in generic distance computation on canvas, as in the Measure tool.
HELP HELP
&ejs_pdb_misc('2018', '2.10'); &jehan_pdb_misc('2018', '2.10');
@inargs = ( @inargs = (
{ name => 'metric', type => 'enum GeglDistanceMetric', { name => 'metric', type => 'enum GeglDistanceMetric',

View File

@ -89,6 +89,10 @@ sub jay_pdb_misc {
contrib_pdb_misc('Jay Cox', '', @_); contrib_pdb_misc('Jay Cox', '', @_);
} }
sub jehan_pdb_misc {
contrib_pdb_misc('Jehan', '', @_);
}
sub joao_pdb_misc { sub joao_pdb_misc {
contrib_pdb_misc('Jo\xc3\xa3o S. O. Bueno', '', @_); contrib_pdb_misc('Jo\xc3\xa3o S. O. Bueno', '', @_);
} }