[gimp] app, libgimp, pdb: remove references of removed functions.



commit 90bcdf9bdaa609822f5c7d04693f6537c8a8457c
Author: Jehan <jehan girinstud io>
Date:   Mon Oct 26 12:35:17 2020 +0100

    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.

 app/pdb/drawable-cmds.c         | 2 +-
 app/pdb/drawable-color-cmds.c   | 4 ++--
 libgimp/gimp.c                  | 2 +-
 libgimp/gimpdrawable_pdb.c      | 8 ++++----
 libgimp/gimpdrawablecolor_pdb.c | 9 +++++----
 libgimpbase/gimpparasite.c      | 5 ++---
 pdb/groups/drawable.pdb         | 4 ++--
 pdb/groups/drawable_color.pdb   | 8 ++++----
 8 files changed, 21 insertions(+), 21 deletions(-)
---
diff --git a/app/pdb/drawable-cmds.c b/app/pdb/drawable-cmds.c
index a5eb3a1b02..dd88710a03 100644
--- a/app/pdb/drawable-cmds.c
+++ b/app/pdb/drawable-cmds.c
@@ -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",
diff --git a/app/pdb/drawable-color-cmds.c b/app/pdb/drawable-color-cmds.c
index 70bb410981..0356c24e02 100644
--- a/app/pdb/drawable-color-cmds.c
+++ b/app/pdb/drawable-color-cmds.c
@@ -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",
diff --git a/libgimp/gimp.c b/libgimp/gimp.c
index 78170a74a1..ae12b9b141 100644
--- a/libgimp/gimp.c
+++ b/libgimp/gimp.c
@@ -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.
  *
diff --git a/libgimp/gimpdrawable_pdb.c b/libgimp/gimpdrawable_pdb.c
index f68bdb6dc9..b8f902fcdd 100644
--- a/libgimp/gimpdrawable_pdb.c
+++ b/libgimp/gimpdrawable_pdb.c
@@ -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.
  **/
diff --git a/libgimp/gimpdrawablecolor_pdb.c b/libgimp/gimpdrawablecolor_pdb.c
index d723da2e89..27e8eb7709 100644
--- a/libgimp/gimpdrawablecolor_pdb.c
+++ b/libgimp/gimpdrawablecolor_pdb.c
@@ -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.
  *
diff --git a/libgimpbase/gimpparasite.c b/libgimpbase/gimpparasite.c
index ddfd352f12..cd4cf43dfd 100644
--- a/libgimpbase/gimpparasite.c
+++ b/libgimpbase/gimpparasite.c
@@ -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.
  **/
diff --git a/pdb/groups/drawable.pdb b/pdb/groups/drawable.pdb
index 0050829222..2032ac6537 100644
--- a/pdb/groups/drawable.pdb
+++ b/pdb/groups/drawable.pdb
@@ -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
diff --git a/pdb/groups/drawable_color.pdb b/pdb/groups/drawable_color.pdb
index 74993897a8..fba4c569d9 100644
--- a/pdb/groups/drawable_color.pdb
+++ b/pdb/groups/drawable_color.pdb
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]