extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's…

… run() function.

This is more consistent with recent changes in PDB, and now the
drawables argument is NULL-terminated.
This commit is contained in:
Jehan
2024-10-28 12:16:13 +01:00
parent ea5824ebd7
commit 8900967a81
74 changed files with 63 additions and 195 deletions

View File

@ -163,8 +163,7 @@ def histogram_export(procedure, img, layers, gio_file,
return procedure.new_return_values(Gimp.PDBStatusType.SUCCESS, GLib.Error())
def run(procedure, run_mode, image, n_layers, layers, config, data):
def run(procedure, run_mode, image, layers, config, data):
if run_mode == Gimp.RunMode.INTERACTIVE:
GimpUi.init("python-fu-histogram-export")