Am 24.01.2011 11:53, schrieb David Chisnall: > On 23 Jan 2011, at 19:43, Philippe Roussel wrote: > >> With libobjc2 and gnustep from trunk I'm getting the following >> error when clicking on a NSColorWell : >> >> Objective-C runtime error. Loading two versions of >> GSColorSliderCell > > Interesting. This error is generated when you load two versions of > the same class, outside of developer mode. It's possible that you're > actually loading the same version of the code twice, but NSBundle > should be preventing this. As far as I can tell, there is only one > definition of GSColorSliderCell, so this error is a bit strange (and > may be a libobjc2 bug) - can you check in a debugger whether the > GSColorSliderCell class is loaded before you click on an > NSColorWell?
This seems to be the problem here. There actually are two versions of GSColorSliderCell loaded. One from loading the wheel picker and one from loading the standard picker. It is exactly the same class coming from the same file. But of course your code is correct about warning when a class gets replaced by another one. I will need to think about this a bit. Fred _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
