mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:50:37 +00:00
merged to trunk current status
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/themes@23385 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
64dac156e8
commit
296a0bd206
87 changed files with 4164 additions and 2031 deletions
|
@ -78,24 +78,23 @@ GSSpellServerName(NSString *vendor, NSString *language)
|
|||
NSArray *userLanguages = [NSUserDefaults userLanguages];
|
||||
NSString *currentLanguage = [userLanguages objectAtIndex: 0];
|
||||
|
||||
[super init];
|
||||
|
||||
_delegate = nil;
|
||||
_ignoredWords = nil;
|
||||
ASSIGN(_userDictionaries, [NSMutableDictionary dictionary]);
|
||||
ASSIGN(_currentLanguage, currentLanguage);
|
||||
|
||||
RETAIN(_userDictionaries);
|
||||
RETAIN(_currentLanguage);
|
||||
if ((self = [super init]) != nil)
|
||||
{
|
||||
_delegate = nil;
|
||||
_ignoredWords = nil;
|
||||
ASSIGN(_userDictionaries, [NSMutableDictionary dictionary]);
|
||||
ASSIGN(_currentLanguage, currentLanguage);
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
// Cleanup when deallocated
|
||||
- (void)dealloc
|
||||
- (void) dealloc
|
||||
{
|
||||
RELEASE(_userDictionaries);
|
||||
RELEASE(_currentLanguage);
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
// Checking in Your Service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue