app, libgimp, pdb: remove references of removed functions.

There were still a few references to functions which have been removed
from GIMP 3 (because they were deprecated in previous versions), which I
found as I was doing an inventory of removed functions.
This commit is contained in:
Jehan 2020-10-26 12:35:17 +01:00
parent 952441653a
commit 90bcdf9bda
8 changed files with 21 additions and 21 deletions

View file

@ -1646,7 +1646,7 @@ register_drawable_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Fill the drawable with the specified fill mode.",
"This procedure fills the drawable. If the fill mode is foreground the current foreground color is used. If the fill mode is background, the current background color is used. If the fill type is white, then white is used. Transparent fill only affects layers with an alpha channel, in which case the alpha channel is set to transparent. If the drawable has no alpha channel, it is filled to white. No fill leaves the drawable's contents undefined.\n"
"This procedure is unlike 'gimp-edit-fill' or the bucket fill tool because it fills regardless of a selection. Its main purpose is to fill a newly created drawable before adding it to the image. This operation cannot be undone.",
"This procedure is unlike 'gimp-drawable-edit-fill' or the bucket fill tool because it fills regardless of a selection. Its main purpose is to fill a newly created drawable before adding it to the image. This operation cannot be undone.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",

View file

@ -868,7 +868,7 @@ register_drawable_color_procs (GimpPDB *pdb)
"gimp-drawable-curves-explicit");
gimp_procedure_set_static_help (procedure,
"Modifies the intensity curve(s) for specified drawable.",
"Modifies the intensity mapping for one channel in the specified drawable. The channel can be either an intensity component, or the value. The 'values' parameter is an array of doubles which explicitly defines how each pixel value in the drawable will be modified. Use the 'gimp-curves-spline' function to modify intensity levels with Catmull Rom splines.",
"Modifies the intensity mapping for one channel in the specified drawable. The channel can be either an intensity component, or the value. The 'values' parameter is an array of doubles which explicitly defines how each pixel value in the drawable will be modified. Use the 'gimp-drawable-curves-spline' function to modify intensity levels with Catmull Rom splines.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",
@ -909,7 +909,7 @@ register_drawable_color_procs (GimpPDB *pdb)
"gimp-drawable-curves-spline");
gimp_procedure_set_static_help (procedure,
"Modifies the intensity curve(s) for specified drawable.",
"Modifies the intensity mapping for one channel in the specified drawable. The channel can be either an intensity component, or the value. The 'points' parameter is an array of doubles which define a set of control points which describe a Catmull Rom spline which yields the final intensity curve. Use the 'gimp-curves-explicit' function to explicitly modify intensity levels.",
"Modifies the intensity mapping for one channel in the specified drawable. The channel can be either an intensity component, or the value. The 'points' parameter is an array of doubles which define a set of control points which describe a Catmull Rom spline which yields the final intensity curve. Use the 'gimp-drawable-curves-explicit' function to explicitly modify intensity levels.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",

View file

@ -900,7 +900,7 @@ gimp_user_time (void)
}
/**
* gimp_get_icon_theme_dir:
* gimp_icon_theme_dir:
*
* Returns the directory of the current icon theme.
*

View file

@ -830,10 +830,10 @@ gimp_drawable_set_pixel (GimpDrawable *drawable,
* with an alpha channel, in which case the alpha channel is set to
* transparent. If the drawable has no alpha channel, it is filled to
* white. No fill leaves the drawable's contents undefined.
* This procedure is unlike gimp_edit_fill() or the bucket fill tool
* because it fills regardless of a selection. Its main purpose is to
* fill a newly created drawable before adding it to the image. This
* operation cannot be undone.
* This procedure is unlike gimp_drawable_edit_fill() or the bucket
* fill tool because it fills regardless of a selection. Its main
* purpose is to fill a newly created drawable before adding it to the
* image. This operation cannot be undone.
*
* Returns: TRUE on success.
**/

View file

@ -195,8 +195,8 @@ gimp_drawable_colorize_hsl (GimpDrawable *drawable,
* drawable. The channel can be either an intensity component, or the
* value. The 'values' parameter is an array of doubles which
* explicitly defines how each pixel value in the drawable will be
* modified. Use the gimp_curves_spline() function to modify intensity
* levels with Catmull Rom splines.
* modified. Use the gimp_drawable_curves_spline() function to modify
* intensity levels with Catmull Rom splines.
*
* Returns: TRUE on success.
*
@ -245,8 +245,9 @@ gimp_drawable_curves_explicit (GimpDrawable *drawable,
* drawable. The channel can be either an intensity component, or the
* value. The 'points' parameter is an array of doubles which define a
* set of control points which describe a Catmull Rom spline which
* yields the final intensity curve. Use the gimp_curves_explicit()
* function to explicitly modify intensity levels.
* yields the final intensity curve. Use the
* gimp_drawable_curves_explicit() function to explicitly modify
* intensity levels.
*
* Returns: TRUE on success.
*

View file

@ -43,9 +43,8 @@
* @title: GimpParasite
* @short_description: Arbitrary pieces of data which can be attached
* to various GIMP objects.
* @see_also: gimp_image_parasite_attach(),
* gimp_drawable_parasite_attach(), gimp_parasite_attach()
* and their related functions.
* @see_also: gimp_image_attach_parasite(), gimp_item_attach_parasite(),
* gimp_attach_parasite() and their related functions.
*
* Arbitrary pieces of data which can be attached to various GIMP objects.
**/

View file

@ -102,8 +102,8 @@ channel, in which case the alpha channel is set to transparent. If the
drawable has no alpha channel, it is filled to white. No fill leaves
the drawable's contents undefined.
This procedure is unlike gimp_edit_fill() or the bucket fill tool
because it fills regardless of a selection. Its main purpose is to
This procedure is unlike gimp_drawable_edit_fill() or the bucket fill
tool because it fills regardless of a selection. Its main purpose is to
fill a newly created drawable before adding it to the image. This
operation cannot be undone.
HELP

View file

@ -185,8 +185,8 @@ Modifies the intensity mapping for one channel in the specified
drawable. The channel can be either an intensity component, or the
value. The 'values' parameter is an array of doubles which explicitly
defines how each pixel value in the drawable will be modified. Use
the gimp_curves_spline() function to modify intensity levels with
Catmull Rom splines.
the gimp_drawable_curves_spline() function to modify intensity levels
with Catmull Rom splines.
HELP
&std_pdb_misc;
@ -242,8 +242,8 @@ Modifies the intensity mapping for one channel in the specified
drawable. The channel can be either an intensity component, or the
value. The 'points' parameter is an array of doubles which define a
set of control points which describe a Catmull Rom spline which yields
the final intensity curve. Use the gimp_curves_explicit() function to
explicitly modify intensity levels.
the final intensity curve. Use the gimp_drawable_curves_explicit()
function to explicitly modify intensity levels.
HELP
&std_pdb_misc;