Commit 1a359a13 authored by Michael Natterer's avatar Michael Natterer 😴

pdb: don't recommend deprecated replacement procedures for deprecated procedures

parent 4d7dbe23
...@@ -487,12 +487,12 @@ register_transform_tools_procs (GimpPDB *pdb) ...@@ -487,12 +487,12 @@ register_transform_tools_procs (GimpPDB *pdb)
"gimp-flip"); "gimp-flip");
gimp_procedure_set_static_strings (procedure, gimp_procedure_set_static_strings (procedure,
"gimp-flip", "gimp-flip",
"Deprecated: Use 'gimp-drawable-transform-flip-simple' instead.", "Deprecated: Use 'gimp-item-transform-flip-simple' instead.",
"Deprecated: Use 'gimp-drawable-transform-flip-simple' instead.", "Deprecated: Use 'gimp-item-transform-flip-simple' instead.",
"", "",
"", "",
"", "",
"gimp-drawable-transform-flip-simple"); "gimp-item-transform-flip-simple");
gimp_procedure_add_argument (procedure, gimp_procedure_add_argument (procedure,
gimp_param_spec_drawable_id ("drawable", gimp_param_spec_drawable_id ("drawable",
"drawable", "drawable",
...@@ -525,12 +525,12 @@ register_transform_tools_procs (GimpPDB *pdb) ...@@ -525,12 +525,12 @@ register_transform_tools_procs (GimpPDB *pdb)
"gimp-perspective"); "gimp-perspective");
gimp_procedure_set_static_strings (procedure, gimp_procedure_set_static_strings (procedure,
"gimp-perspective", "gimp-perspective",
"Deprecated: Use 'gimp-drawable-transform-perspective-default' instead.", "Deprecated: Use 'gimp-item-transform-perspective' instead.",
"Deprecated: Use 'gimp-drawable-transform-perspective-default' instead.", "Deprecated: Use 'gimp-item-transform-perspective' instead.",
"", "",
"", "",
"", "",
"gimp-drawable-transform-perspective-default"); "gimp-item-transform-perspective");
gimp_procedure_add_argument (procedure, gimp_procedure_add_argument (procedure,
gimp_param_spec_drawable_id ("drawable", gimp_param_spec_drawable_id ("drawable",
"drawable", "drawable",
...@@ -608,12 +608,12 @@ register_transform_tools_procs (GimpPDB *pdb) ...@@ -608,12 +608,12 @@ register_transform_tools_procs (GimpPDB *pdb)
"gimp-rotate"); "gimp-rotate");
gimp_procedure_set_static_strings (procedure, gimp_procedure_set_static_strings (procedure,
"gimp-rotate", "gimp-rotate",
"Deprecated: Use 'gimp-drawable-transform-rotate-default' instead.", "Deprecated: Use 'gimp-item-transform-rotate' instead.",
"Deprecated: Use 'gimp-drawable-transform-rotate-default' instead.", "Deprecated: Use 'gimp-item-transform-rotate' instead.",
"", "",
"", "",
"", "",
"gimp-drawable-transform-rotate-default"); "gimp-item-transform-rotate");
gimp_procedure_add_argument (procedure, gimp_procedure_add_argument (procedure,
gimp_param_spec_drawable_id ("drawable", gimp_param_spec_drawable_id ("drawable",
"drawable", "drawable",
...@@ -649,12 +649,12 @@ register_transform_tools_procs (GimpPDB *pdb) ...@@ -649,12 +649,12 @@ register_transform_tools_procs (GimpPDB *pdb)
"gimp-scale"); "gimp-scale");
gimp_procedure_set_static_strings (procedure, gimp_procedure_set_static_strings (procedure,
"gimp-scale", "gimp-scale",
"Deprecated: Use 'gimp-drawable-transform-scale-default' instead.", "Deprecated: Use 'gimp-item-transform-scale' instead.",
"Deprecated: Use 'gimp-drawable-transform-scale-default' instead.", "Deprecated: Use 'gimp-item-transform-scale' instead.",
"", "",
"", "",
"", "",
"gimp-drawable-transform-scale-default"); "gimp-item-transform-scale");
gimp_procedure_add_argument (procedure, gimp_procedure_add_argument (procedure,
gimp_param_spec_drawable_id ("drawable", gimp_param_spec_drawable_id ("drawable",
"drawable", "drawable",
...@@ -708,12 +708,12 @@ register_transform_tools_procs (GimpPDB *pdb) ...@@ -708,12 +708,12 @@ register_transform_tools_procs (GimpPDB *pdb)
"gimp-shear"); "gimp-shear");
gimp_procedure_set_static_strings (procedure, gimp_procedure_set_static_strings (procedure,
"gimp-shear", "gimp-shear",
"Deprecated: Use 'gimp-drawable-transform-shear-default' instead.", "Deprecated: Use 'gimp-item-transform-shear' instead.",
"Deprecated: Use 'gimp-drawable-transform-shear-default' instead.", "Deprecated: Use 'gimp-item-transform-shear' instead.",
"", "",
"", "",
"", "",
"gimp-drawable-transform-shear-default"); "gimp-item-transform-shear");
gimp_procedure_add_argument (procedure, gimp_procedure_add_argument (procedure,
gimp_param_spec_drawable_id ("drawable", gimp_param_spec_drawable_id ("drawable",
"drawable", "drawable",
...@@ -758,12 +758,12 @@ register_transform_tools_procs (GimpPDB *pdb) ...@@ -758,12 +758,12 @@ register_transform_tools_procs (GimpPDB *pdb)
"gimp-transform-2d"); "gimp-transform-2d");
gimp_procedure_set_static_strings (procedure, gimp_procedure_set_static_strings (procedure,
"gimp-transform-2d", "gimp-transform-2d",
"Deprecated: Use 'gimp-drawable-transform-2d-default' instead.", "Deprecated: Use 'gimp-item-transform-2d' instead.",
"Deprecated: Use 'gimp-drawable-transform-2d-default' instead.", "Deprecated: Use 'gimp-item-transform-2d' instead.",
"", "",
"", "",
"", "",
"gimp-drawable-transform-2d-default"); "gimp-item-transform-2d");
gimp_procedure_add_argument (procedure, gimp_procedure_add_argument (procedure,
gimp_param_spec_drawable_id ("drawable", gimp_param_spec_drawable_id ("drawable",
"drawable", "drawable",
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
* @drawable_ID: The affected drawable. * @drawable_ID: The affected drawable.
* @flip_type: Type of flip. * @flip_type: Type of flip.
* *
* Deprecated: Use gimp_drawable_transform_flip_simple() instead. * Deprecated: Use gimp_item_transform_flip_simple() instead.
* *
* Returns: The flipped drawable. * Returns: The flipped drawable.
**/ **/
...@@ -81,8 +81,7 @@ gimp_flip (gint32 drawable_ID, ...@@ -81,8 +81,7 @@ gimp_flip (gint32 drawable_ID,
* @x3: The new x coordinate of lower-right corner of original bounding box. * @x3: The new x coordinate of lower-right corner of original bounding box.
* @y3: The new y coordinate of lower-right corner of original bounding box. * @y3: The new y coordinate of lower-right corner of original bounding box.
* *
* Deprecated: Use gimp_drawable_transform_perspective_default() * Deprecated: Use gimp_item_transform_perspective() instead.
* instead.
* *
* Returns: The newly mapped drawable. * Returns: The newly mapped drawable.
**/ **/
...@@ -130,7 +129,7 @@ gimp_perspective (gint32 drawable_ID, ...@@ -130,7 +129,7 @@ gimp_perspective (gint32 drawable_ID,
* @interpolation: Whether to use interpolation. * @interpolation: Whether to use interpolation.
* @angle: The angle of rotation (radians). * @angle: The angle of rotation (radians).
* *
* Deprecated: Use gimp_drawable_transform_rotate_default() instead. * Deprecated: Use gimp_item_transform_rotate() instead.
* *
* Returns: The rotated drawable. * Returns: The rotated drawable.
**/ **/
...@@ -167,7 +166,7 @@ gimp_rotate (gint32 drawable_ID, ...@@ -167,7 +166,7 @@ gimp_rotate (gint32 drawable_ID,
* @x1: The new x coordinate of the lower-right corner of the scaled region. * @x1: The new x coordinate of the lower-right corner of the scaled region.
* @y1: The new y coordinate of the lower-right corner of the scaled region. * @y1: The new y coordinate of the lower-right corner of the scaled region.
* *
* Deprecated: Use gimp_drawable_transform_scale_default() instead. * Deprecated: Use gimp_item_transform_scale() instead.
* *
* Returns: The scaled drawable. * Returns: The scaled drawable.
**/ **/
...@@ -208,7 +207,7 @@ gimp_scale (gint32 drawable_ID, ...@@ -208,7 +207,7 @@ gimp_scale (gint32 drawable_ID,
* @shear_type: Type of shear. * @shear_type: Type of shear.
* @magnitude: The magnitude of the shear. * @magnitude: The magnitude of the shear.
* *
* Deprecated: Use gimp_drawable_transform_shear_default() instead. * Deprecated: Use gimp_item_transform_shear() instead.
* *
* Returns: The sheared drawable. * Returns: The sheared drawable.
**/ **/
...@@ -250,7 +249,7 @@ gimp_shear (gint32 drawable_ID, ...@@ -250,7 +249,7 @@ gimp_shear (gint32 drawable_ID,
* @dest_x: X coordinate of where the centre goes. * @dest_x: X coordinate of where the centre goes.
* @dest_y: Y coordinate of where the centre goes. * @dest_y: Y coordinate of where the centre goes.
* *
* Deprecated: Use gimp_drawable_transform_2d_default() instead. * Deprecated: Use gimp_item_transform_2d() instead.
* *
* Returns: The transformed drawable. * Returns: The transformed drawable.
**/ **/
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# "Perlized" from C source by Manish Singh <yosh@gimp.org> # "Perlized" from C source by Manish Singh <yosh@gimp.org>
sub flip { sub flip {
&std_pdb_deprecated ('gimp-drawable-transform-flip-simple'); &std_pdb_deprecated ('gimp-item-transform-flip-simple');
@inargs = ( @inargs = (
{ name => 'drawable', type => 'drawable', { name => 'drawable', type => 'drawable',
...@@ -59,7 +59,7 @@ CODE ...@@ -59,7 +59,7 @@ CODE
} }
sub perspective { sub perspective {
&std_pdb_deprecated ('gimp-drawable-transform-perspective-default'); &std_pdb_deprecated ('gimp-item-transform-perspective');
@inargs = ( @inargs = (
{ name => 'drawable', type => 'drawable', { name => 'drawable', type => 'drawable',
...@@ -147,7 +147,7 @@ CODE ...@@ -147,7 +147,7 @@ CODE
} }
sub rotate { sub rotate {
&std_pdb_deprecated ('gimp-drawable-transform-rotate-default'); &std_pdb_deprecated ('gimp-item-transform-rotate');
@inargs = ( @inargs = (
{ name => 'drawable', type => 'drawable', { name => 'drawable', type => 'drawable',
...@@ -212,7 +212,7 @@ CODE ...@@ -212,7 +212,7 @@ CODE
} }
sub scale { sub scale {
&std_pdb_deprecated ('gimp-drawable-transform-scale-default'); &std_pdb_deprecated ('gimp-item-transform-scale');
@inargs = ( @inargs = (
{ name => 'drawable', type => 'drawable', { name => 'drawable', type => 'drawable',
...@@ -288,7 +288,7 @@ CODE ...@@ -288,7 +288,7 @@ CODE
} }
sub shear { sub shear {
&std_pdb_deprecated ('gimp-drawable-transform-shear-default'); &std_pdb_deprecated ('gimp-item-transform-shear');
@inargs = ( @inargs = (
{ name => 'drawable', type => 'drawable', { name => 'drawable', type => 'drawable',
...@@ -356,7 +356,7 @@ CODE ...@@ -356,7 +356,7 @@ CODE
} }
sub transform_2d { sub transform_2d {
&std_pdb_deprecated ('gimp-drawable-transform-2d-default'); &std_pdb_deprecated ('gimp-item-transform-2d');
@inargs = ( @inargs = (
{ name => 'drawable', type => 'drawable', { name => 'drawable', type => 'drawable',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment