On 2006-03-20 14:57:14 -0700 Lief Sinolumat <[EMAIL PROTECTED]>
wrote:
I converted the nibs with nib2gmodel was able to load them up in
GORM. The
app has a few custom classes which GORM was able to figure out
parsing the
header files. Basically only the menu had to be rearranged to
conform to the
GNUstep standard. Pretty painless.
Great!
Some minor fiddling later, everything compiles but the app promptly
crashes
on a missing font (should this happen?). Fixed.
No. Do you know where it crashed? We should fix it.
Now the app runs, but dumps core on the following method:
static void PSdecorateLine(float y, float w, float hg)
{
[WhiteColor set];
[NSBezierPath setDefaultLineWidth:1.0];
[NSBezierPath strokeLineFromPoint:NSMakePoint(0.0, y-2)
toPoint:NSMakePoint(w, y-2)];
[[NSColor darkGrayColor] set];
[NSBezierPath strokeLineFromPoint:NSMakePoint(0.0, y+hg)
toPoint:NSMakePoint(w, y+hg)];
}
What's WhiteColor? Is it a static variable? Did you remember to retain
the object you created?
WhiteColor = [[NSColor whiteColor] retain]
??? The backtrace seems to indicate that there's an invalid object or
method and this seems to be the most likely one.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep