mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 16:46:23 +00:00
Changed the retain/release policy in NSButton, NSCell, NSControl,
NSSlider and NSTextField classes. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2230 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e3b40cf7bc
commit
91f71eb3ad
11 changed files with 112 additions and 13 deletions
|
@ -85,8 +85,7 @@ id gnustep_gui_nsbutton_class = nil;
|
|||
[super initWithFrame:frameRect];
|
||||
|
||||
// set our cell
|
||||
[[self cell] release];
|
||||
[self setCell:[[gnustep_gui_nsbutton_class alloc] init]];
|
||||
[self setCell:[[gnustep_gui_nsbutton_class new] autorelease]];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue