On Tue, 2006-08-08 at 10:17 +0200, Karl Günter Wünsch wrote:
> On Tuesday 08 August 2006 10:00, Sven Neumann wrote:
> > Fixing this is as simple as adding the GIMP_CONFIG_PARAM_SERIALIZE flag
> > to the registration of the interface properties. This is a simple change
> > and it is already outlined in the bug report. Please stick to the facts,
> > or if you don't know about the implementation details, don't make
> > assumptions about them.
> And now you are making assumptions. The flag only alters the behaviour by 
> resulting in a crash when trying to read or write the properties... This 
> probably is the result of not using the macros every other tool uses to 
> register it's properties.

The other tools you are referring to aren't interfaces such as the
GimpRectangleOptions. The macros are useful shortcuts for adding
serializable properties to object classes, but they won't work for
interfaces. And yes, there are good reasons for GimpRectangleTool and
GimpRectangleOptions being interfaces. If there is indeed a crash when
using the SERIALIZE flag with an interface, then we will have to
investigate this and fix it.


Gimp-developer mailing list

Reply via email to