mirror of https://github.com/GNOME/gimp.git
![]() … PDB type. This is a first step for #7369. Clearly our GimpObjectArray was meant to be used with C arrays, hence the wrapper function gimp_value_set_object_array() which was taking a C array and actually creating and setting a GimpObjectArray. This is why our new type is actually a C array aliased as a boxed type and containing its own size (thanks to NULL-termination). Eventually GimpCoreObjectArray is meant to replace GimpObjectArray. The only issue is that such a type does not allow NULL as a valid element in such an array, but fact is that I don't think we currently have any use case where this matters. If ever such a case arise in the future, we may introduce back GimpObjectArray. In this first commit, I replaced all itemarray PDB types with a new drawablearray using this new boxed type when relevant. |
||
---|---|---|
.. | ||
fits.c | ||
meson.build |