and a couple more equality tests

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39125 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2015-11-02 18:48:36 +00:00
parent 603322467c
commit 1efddfc0c6

View file

@ -2100,7 +2100,7 @@ Also returns the child index relative to this parent. */
for (i = 0; i < numChildren; i++)
{
id child = [removeAll objectAtIndex: i];
[_items removeObject: child];
[_items removeObjectIdenticalTo: child];
}
[self _noteNumberOfRowsChangedBelowItem: item by: -numChildren];
}
@ -2181,7 +2181,7 @@ Also returns the child index relative to this parent. */
[self _removeChildren: child];
NSMapRemove(_itemDict, child);
[_items removeObject: child];
[_items removeObjectIdenticalTo: child];
[_expandedItems removeObjectIdenticalTo: child];
}
[anarray removeAllObjects];