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

This commit is contained in:
Michael Natterer 2019-08-30 10:49:04 +02:00
parent ca1ef132c3
commit 73298481f1
1 changed files with 2 additions and 8 deletions

View File

@ -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)
{