And use the function in script-fu. While we want wrong resource names to trigger WARNINGs in Script-Fu scripts and plug-ins (because these can be considered as a bug), we don't want it to happen when the resource is not loaded on purpose (mostly it means that we run GIMP with --no-data or --no-fonts). This was happening in our own builds when running GIMP through the in-build-gimp.py script and that was always very annoying. Now in such a case, we will only output an INFO message on stderr (it's still a good idea to warn about this, because if we imagined someone was running a script non-interactively, which called one of these procedures, they may have relied on the default value of some arguments. Therefore they'd want to know about such a behavior change). |
||
|---|---|---|
| .. | ||
| console | ||
| interpreter | ||
| libscriptfu | ||
| scripts | ||
| server | ||
| test | ||
| gimp-script-fu-interpreter.interp.in | ||
| meson.build | ||
| script-fu-eval.c | ||
| script-fu-eval.h | ||
| script-fu-refresh.c | ||
| script-fu-refresh.h | ||
| script-fu-text-console.c | ||
| script-fu-text-console.h | ||
| script-fu.c | ||