[gimp] plug-ins: oops, file-glob is not an image procedure



commit 73298481f12d0263dccc8c52df9dbf3c6c9c01d4
Author: Michael Natterer <mitch gimp org>
Date:   Fri Aug 30 10:49:04 2019 +0200

    plug-ins: oops, file-glob is not an image procedure

 plug-ins/common/file-glob.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/plug-ins/common/file-glob.c b/plug-ins/common/file-glob.c
index cfa37a3869..2022de3c84 100644
--- a/plug-ins/common/file-glob.c
+++ b/plug-ins/common/file-glob.c
@@ -52,9 +52,6 @@ static GimpProcedure  * glob_create_procedure (GimpPlugIn           *plug_in,
                                                const gchar          *name);
 
 static GimpValueArray * glob_run              (GimpProcedure        *procedure,
-                                               GimpRunMode           run_mode,
-                                               GimpImage            *image,
-                                               GimpDrawable         *drawable,
                                                const GimpValueArray *args,
                                                gpointer              run_data);
 
@@ -99,8 +96,8 @@ glob_create_procedure (GimpPlugIn  *plug_in,
 
   if (! strcmp (name, PLUG_IN_PROC))
     {
-      procedure = gimp_image_procedure_new (plug_in, name, GIMP_PLUGIN,
-                                            glob_run, NULL, NULL);
+      procedure = gimp_procedure_new (plug_in, name, GIMP_PLUGIN,
+                                      glob_run, NULL, NULL);
 
       gimp_procedure_set_documentation (procedure,
                                         "Returns a list of matching filenames",
@@ -149,9 +146,6 @@ glob_create_procedure (GimpPlugIn  *plug_in,
 
 static GimpValueArray *
 glob_run (GimpProcedure        *procedure,
-          GimpRunMode           run_mode,
-          GimpImage            *image,
-          GimpDrawable         *drawable,
           const GimpValueArray *args,
           gpointer              run_data)
 {


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