bug-gnustep
[Top][All Lists]
Advanced

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

Re: [RFC] NSTabView* rewrite (patch)


From: Adam Fedor
Subject: Re: [RFC] NSTabView* rewrite (patch)
Date: Wed, 30 Jul 2003 08:13:51 -0600


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.





reply via email to

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