libgimpconfig: fix #10278 Script-Fu API display commands are failing

on input arguments

This is the same issue as #10194 but for GimpDisplay. We fix it in
the same manner.
This commit is contained in:
Jacob Boerema 2023-11-28 15:38:47 -05:00
parent ec999ee193
commit 6cca73516a

View file

@ -351,6 +351,7 @@ gimp_config_param_spec_duplicate (GParamSpec *pspec)
* with type names instead.
*/
g_strcmp0 (type_name, "GimpImage") == 0 ||
g_strcmp0 (type_name, "GimpDisplay") == 0 ||
g_strcmp0 (type_name, "GimpDrawable") == 0 ||
g_strcmp0 (type_name, "GimpLayer") == 0 ||
g_strcmp0 (type_name, "GimpTextLayer") == 0 ||