Jonathan Paisley
jp-ww****@dcs*****
Sat Mar 4 19:20:38 JST 2006
Hi, I made a small patch to work around the NSView log problem: NSView not correctly initialized. Did you forget to call super? http://sourceforge.net/tracker/index.php? func=detail&aid=1215220&group_id=44114&atid=438476 The patch specifically avoids calling retain on an NSView before it's initialised, and there's a corresponding patch to occur_ownership. Test cases included also. In order to have a cleaner solution to this, the logic of 'occur_ownership' would have to be passed down to the actual instance creation. If you think this is a reasonable (if temporary) solution, I'll commit it. I tried to upload the patch to the sourceforge tracker, but there was no upload button! Cheers, Jonathan -------------- next part -------------- A non-text attachment was scrubbed... Name: nsview-log.patch Type: application/octet-stream Size: 3330 bytes Desc: not available Url : http://lists.sourceforge.jp/mailman/archives/rubycocoa-devel/attachments/20060304/4536405f/attachment.obj