Don't use 'Dictionary' methods

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3022 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-10-03 05:20:03 +00:00
parent e169446957
commit 6d0c6bad5e

View file

@ -2027,13 +2027,13 @@ static int messages_received_count;
if (anObj)
{
[root_object_dictionary_gate lock];
[root_object_dictionary putObject: anObj atKey: aPort];
[root_object_dictionary setObject: Obj forKey: aPort];
[root_object_dictionary_gate unlock];
}
else /* anObj == nil && oldRootObject != nil */
{
[root_object_dictionary_gate lock];
[root_object_dictionary removeObjectAtKey: aPort];
[root_object_dictionary removeObjectForKey: aPort];
[root_object_dictionary_gate unlock];
}
}