[gimp/gimp-2-10] pdb: fix the names of the oilify compat PDB wrappers



commit 9587c125d48dc058a291c1388d527b735dd17f23
Author: Michael Natterer <mitch gimp org>
Date:   Sun Aug 4 23:31:14 2019 +0200

    pdb: fix the names of the oilify compat PDB wrappers
    
    (cherry picked from commit 21d63d6c654da291c829904610255106e5e9b53e)

 app/pdb/plug-in-compat-cmds.c | 40 ++++++++++++++++++++--------------------
 pdb/groups/plug_in_compat.pdb |  8 ++++----
 2 files changed, 24 insertions(+), 24 deletions(-)
---
diff --git a/app/pdb/plug-in-compat-cmds.c b/app/pdb/plug-in-compat-cmds.c
index 314b622ea5..e228e0a7ec 100644
--- a/app/pdb/plug-in-compat-cmds.c
+++ b/app/pdb/plug-in-compat-cmds.c
@@ -3019,12 +3019,12 @@ plug_in_nova_invoker (GimpProcedure         *procedure,
 }
 
 static GimpValueArray *
-plug_in_oilify2_invoker (GimpProcedure         *procedure,
-                         Gimp                  *gimp,
-                         GimpContext           *context,
-                         GimpProgress          *progress,
-                         const GimpValueArray  *args,
-                         GError               **error)
+plug_in_oilify_invoker (GimpProcedure         *procedure,
+                        Gimp                  *gimp,
+                        GimpContext           *context,
+                        GimpProgress          *progress,
+                        const GimpValueArray  *args,
+                        GError               **error)
 {
   gboolean success = TRUE;
   GimpDrawable *drawable;
@@ -3063,12 +3063,12 @@ plug_in_oilify2_invoker (GimpProcedure         *procedure,
 }
 
 static GimpValueArray *
-plug_in_oilify_enhanced2_invoker (GimpProcedure         *procedure,
-                                  Gimp                  *gimp,
-                                  GimpContext           *context,
-                                  GimpProgress          *progress,
-                                  const GimpValueArray  *args,
-                                  GError               **error)
+plug_in_oilify_enhanced_invoker (GimpProcedure         *procedure,
+                                 Gimp                  *gimp,
+                                 GimpContext           *context,
+                                 GimpProgress          *progress,
+                                 const GimpValueArray  *args,
+                                 GError               **error)
 {
   gboolean success = TRUE;
   GimpDrawable *drawable;
@@ -7598,13 +7598,13 @@ register_plug_in_compat_procs (GimpPDB *pdb)
   g_object_unref (procedure);
 
   /*
-   * gimp-plug-in-oilify2
+   * gimp-plug-in-oilify
    */
-  procedure = gimp_procedure_new (plug_in_oilify2_invoker);
+  procedure = gimp_procedure_new (plug_in_oilify_invoker);
   gimp_object_set_static_name (GIMP_OBJECT (procedure),
-                               "plug-in-oilify2");
+                               "plug-in-oilify");
   gimp_procedure_set_static_strings (procedure,
-                                     "plug-in-oilify2",
+                                     "plug-in-oilify",
                                      "Smear colors to simulate an oil painting",
                                      "This function performs the well-known oil-paint effect on the 
specified drawable.",
                                      "Compatibility procedure. Please see 'gegl:oilify' for credits.",
@@ -7646,13 +7646,13 @@ register_plug_in_compat_procs (GimpPDB *pdb)
   g_object_unref (procedure);
 
   /*
-   * gimp-plug-in-oilify-enhanced2
+   * gimp-plug-in-oilify-enhanced
    */
-  procedure = gimp_procedure_new (plug_in_oilify_enhanced2_invoker);
+  procedure = gimp_procedure_new (plug_in_oilify_enhanced_invoker);
   gimp_object_set_static_name (GIMP_OBJECT (procedure),
-                               "plug-in-oilify-enhanced2");
+                               "plug-in-oilify-enhanced");
   gimp_procedure_set_static_strings (procedure,
-                                     "plug-in-oilify-enhanced2",
+                                     "plug-in-oilify-enhanced",
                                      "Smear colors to simulate an oil painting",
                                      "This function performs the well-known oil-paint effect on the 
specified drawable.",
                                      "Compatibility procedure. Please see 'gegl:oilify' for credits.",
diff --git a/pdb/groups/plug_in_compat.pdb b/pdb/groups/plug_in_compat.pdb
index dc01bb5d30..ec21734e6a 100644
--- a/pdb/groups/plug_in_compat.pdb
+++ b/pdb/groups/plug_in_compat.pdb
@@ -2984,7 +2984,7 @@ CODE
     );
 }
 
-sub plug_in_oilify2 {
+sub plug_in_oilify {
     $blurb = 'Smear colors to simulate an oil painting';
 
     $help = <<'HELP';
@@ -3035,7 +3035,7 @@ CODE
     );
 }
 
-sub plug_in_oilify_enhanced2 {
+sub plug_in_oilify_enhanced {
     $blurb = 'Smear colors to simulate an oil painting';
 
     $help = <<'HELP';
@@ -5426,8 +5426,8 @@ CODE
             plug_in_newsprint
             plug_in_normalize
             plug_in_nova
-            plug_in_oilify2
-            plug_in_oilify_enhanced2
+            plug_in_oilify
+            plug_in_oilify_enhanced
             plug_in_papertile
             plug_in_pixelize
             plug_in_pixelize2


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