gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSColorWell


From: Fred Kiefer
Subject: Re: Problem with NSColorWell
Date: Mon, 24 Jan 2011 12:58:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]