Updated for changes in semantics of NSMutableAttributedString -string

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12497 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 2002-02-11 17:21:13 +00:00
parent 623d2351e4
commit 166c60efbe
5 changed files with 11 additions and 7 deletions

View file

@ -230,7 +230,11 @@
- (void)setAttributedAlternateTitle:(NSAttributedString *)aString
{
// TODO
[self setAlternateTitle: [aString string]];
NSString *alternateTitle;
alternateTitle = AUTORELEASE ([[aString string] copy]);
[self setAlternateTitle: alternateTitle];
}
- (NSAttributedString *)attributedTitle