mirror of https://github.com/GNOME/gimp.git
![]() This abstract spec type is basically a GParamSpecObject with a default value. It will be used by various object spec with default values, such as GimpParamSpecColor, GimpParamSpecUnit and all GimpParamSpecResource subtypes. Also it has a duplicate() class method so that every spec type can implement the proper way to duplicate itself. This fixes the fact that in gimp_config_param_spec_duplicate(), all unknown object spec types (because they are implemented in libgimp, which is invisible to libgimpconfig) are just copied as GParamSpecObject, hence losing default values and other parameters. As a second enhancement, it also makes it easier to detect the object spec types for which we have default value support in gimp_config_reset_properties(). As a side fix, gimp_param_spec_color() now just always duplicates the passed default color, making it hence much easier to avoid bugs when reusing a GeglColor. |
||
---|---|---|
.. | ||
gimpcolorconfig.c | ||
gimpcolorconfig.h | ||
gimpconfig-array.c | ||
gimpconfig-array.h | ||
gimpconfig-deserialize.c | ||
gimpconfig-deserialize.h | ||
gimpconfig-error.c | ||
gimpconfig-error.h | ||
gimpconfig-iface.c | ||
gimpconfig-iface.h | ||
gimpconfig-params.c | ||
gimpconfig-params.h | ||
gimpconfig-path.c | ||
gimpconfig-path.h | ||
gimpconfig-register.c | ||
gimpconfig-register.h | ||
gimpconfig-serialize.c | ||
gimpconfig-serialize.h | ||
gimpconfig-utils.c | ||
gimpconfig-utils.h | ||
gimpconfig.def | ||
gimpconfig.h | ||
gimpconfigenums.c | ||
gimpconfigenums.h | ||
gimpconfigtypes.h | ||
gimpconfigwriter.c | ||
gimpconfigwriter.h | ||
gimpscanner.c | ||
gimpscanner.h | ||
meson.build |