2.99 libgimp: PDB doc is missing args for gimp-resource- methods, and warnings in console
Symptoms
-
PDB Procedure Browser doc for e.g. gimp-resource-get-name is missing the input arg. The procedure code does attempt to register that arg.
-
In SF Console, (gimp-context-get-resource "GimpFont") throws in the stderr console:
(script-fu:319): LibGimp-WARNING **: 09:40:51.503: _gimp_gp_param_def_to_param_spec: GParamSpec type unsupported 'GimpParamResource'
(script-fu:319): LibGimp-CRITICAL **: 09:40:51.503: gimp_procedure_add_return_value: assertion 'G_IS_PARAM_SPEC (pspec)' failed
Fix
There are missing cases in libgimp/gimpgpparams-body.c.
I will submit an MR.
Background
There have been many changes recently in this area. This is new PDB API for v3. I am testing it using ScriptFu. There are forthcoming changes in ScriptFu re binding resource objects to integer ID's instead of string names.