On Wednesday, July 30, 2003, at 03:13 AM, Alexander Malmberg wrote:
Adam Fedor wrote: [snip]@@ -132,6 +193,8 @@
- (NSArray*) tabViewItems { + // FIXME: should this be a copy? or? + return (NSArray*)_items; }
This could use the base method:
return [_items makeImmutableCopyOnFail: YES];
That wouldn't work. It might make the _items instance immutable, which would break things when you try to add or remove items later.
Oops. I wasn't looking at the proper use of the method.
_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
