plug-ins: port file-farbfeld to new gimp_save_procedure_new().

This was not forgotten, simply this is a new plug-in which got into the tree
after a rebase. ;-)
This commit is contained in:
Jehan 2023-07-23 23:21:04 +02:00
parent cd5d221cfa
commit 37a867d85a
1 changed files with 5 additions and 3 deletions

View File

@ -74,7 +74,8 @@ static GimpValueArray * farbfeld_save (GimpProcedure *procedu
gint n_drawables,
GimpDrawable **drawables,
GFile *file,
const GimpValueArray *args,
GimpMetadata *metadata,
GimpProcedureConfig *config,
gpointer run_data);
static GimpImage * load_image (GFile *file,
@ -154,7 +155,7 @@ farbfeld_create_procedure (GimpPlugIn *plug_in,
{
procedure = gimp_save_procedure_new (plug_in, name,
GIMP_PDB_PROC_TYPE_PLUGIN,
farbfeld_save, NULL, NULL);
FALSE, farbfeld_save, NULL, NULL);
gimp_procedure_set_image_types (procedure, "*");
@ -221,7 +222,8 @@ farbfeld_save (GimpProcedure *procedure,
gint n_drawables,
GimpDrawable **drawables,
GFile *file,
const GimpValueArray *args,
GimpMetadata *metadata,
GimpProcedureConfig *config,
gpointer run_data)
{
GimpPDBStatusType status = GIMP_PDB_SUCCESS;