[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix: NSTabViewItem, setView:
From: |
Georg Fleischmann |
Subject: |
Fix: NSTabViewItem, setView: |
Date: |
Tue, 21 Nov 2000 20:26:50 +0100 |
Hello,
here is a fix for [NSTabViewItem setView:].
The patch just removes a release which is one too much, since ASSIGN() already
manages retain and release.
2000-11-21 Georg Fleischmann
* gui/NSTabViewItem.m
[NSTabViewItem setView:]:
TEST_RELEASE() removed, since ASSIGN() manages retain/release
*** gui/Source/NSTabViewItem.m.old Mon Oct 23 15:38:28 2000
--- gui/Source/NSTabViewItem.m Tue Nov 21 18:19:16 2000
***************
*** 69,77 ****
- (void)setView:(NSView *)view
{
- if (item_view)
- TEST_RELEASE(item_view);
-
ASSIGN(item_view, view);
}
--- 69,74 ----
---
* Georg Fleischmann, vhf interservice GmbH
* research on environmental self-similarity and geometry of fractals
* georg@vhf.de http://www.vhf.de
- Fix: NSTabViewItem, setView:,
Georg Fleischmann <=