Replace sel_eq with sel_isEqual

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31285 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ericwa 2010-09-09 23:50:38 +00:00
parent 8c3501132d
commit 82ac6117e8
12 changed files with 56 additions and 41 deletions

View file

@ -947,7 +947,7 @@ static BOOL menuBarVisible = YES;
{
NSMenuItem *menuItem = [_items objectAtIndex: i];
if (actionSelector == 0 || sel_eq([menuItem action], actionSelector))
if (actionSelector == 0 || sel_isEqual([menuItem action], actionSelector))
{
// There are different possibilities to implement the check here
if ([menuItem target] == anObject)