discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GWorkspace segfault


From: Enrico Sersale
Subject: Re: GWorkspace segfault
Date: Mon, 1 Apr 2002 14:47:49 +0300 (EEST)

On Mon, 1 Apr 2002, Dennis Leeuw wrote:

> Hi all,
>
> With the new gnustep-back GWorkspace segfaults with:
>
> Apr 01 10:59:35 GWorkspace[4053] Invalid selector DPSsetwindowlevel::
> (no type information)
> Apr 01 10:59:35 GWorkspace[4053] GSFFCallInvocation.m:771  Assertion
> failed in GSInvocationCallback.  No signature for selector
> DPSsetwindowlevel::
> Segmentation fault
>
> This GWorkspace 0.3.2.
>
> Dennis Leeuw

Edit Desktop/DesktopWindow.m and change:

- (void)activate
{
#ifdef GNUSTEP
  NSGraphicsContext *context = [NSGraphicsContext currentContext];
  [context DPSsetwindowlevel: NSDesktopWindowLevel : [self windowNumber]];
  [self orderFront: nil];
#endif
}

in:

- (void)activate
{
#ifdef GNUSTEP
  [self setLevel: NSDesktopWindowLevel];
  [self orderFront: nil];
#endif
}





reply via email to

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