discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GWorkspace problem


From: Adam Fedor
Subject: Re: GWorkspace problem
Date: Tue, 07 May 2002 09:30:16 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.8) Gecko/20020310

Guevara, Kristine F wrote:
I am trying to get GWorkspace working on my system, however it fails
when I attempt to run the application.

I am running it on a Solaris 2.6, using the following software:
- gcc-3.0.4
- ffcall-1.8d
- tiff-v3.5.7
- libxml-1.8.17
CORE
- gnustep-make-1.2.1
- gnustep-base-1.1.0
- gnustep-gui-0.7.5
- gnustep-xgps-0.7.5




lau
nching has finished
Illegal Instruction



There is a bug in gnustep-gui-0.7.5 through 0.7.7 which causes this crash on Solaris. You need to get the latest CVS version of gnustep-gui and gnustep-back (and gnustep-make-1.3.2 and gnustep-base-1.3.2), or you can apply the attached patch to NSView.m





--
Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                      | know how I hate the stuff.
Index: NSView.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/gui/Source/NSView.m,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -r1.187 -r1.188
--- NSView.m    7 Apr 2002 02:16:56 -0000       1.187
+++ NSView.m    1 May 2002 16:59:10 -0000       1.188
@@ -1282,13 +1282,17 @@
 - (void) resizeWithOldSuperviewSize: (NSSize)oldSize
 {
   int          options = 0;
-  NSSize       superViewFrameSize = [_super_view frame].size;
+  NSSize       superViewFrameSize;
   NSRect        newFrame = _frame;
   BOOL         changedOrigin = NO;
   BOOL         changedSize = NO;
 
   if (_autoresizingMask == NSViewNotSizable)
     return;
+
+  superViewFrameSize = NSMakeSize(0,0);
+  if (_super_view)
+    superViewFrameSize = [_super_view frame].size;
 
   /*
    * determine if and how the X axis can be resized

reply via email to

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