From 965294442817fcd7ad2fdf1ca002b0a2416b858b Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Thu, 2 Jul 2009 20:41:30 +0000 Subject: Fix warnings caused by calls to validateMenuItem: being passed to NSObject by returning YES by default. --- Source/SPTableRelations.m | 2 +- Source/TableContent.m | 2 +- Source/TableSource.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/SPTableRelations.m b/Source/SPTableRelations.m index a65de7ea..e2c5f23c 100644 --- a/Source/SPTableRelations.m +++ b/Source/SPTableRelations.m @@ -314,7 +314,7 @@ return ([relationsTableView numberOfSelectedRows] > 0); } - return [super validateMenuItem:menuItem]; + return YES; } /* diff --git a/Source/TableContent.m b/Source/TableContent.m index 9a96a28a..3ed6dd43 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -2568,7 +2568,7 @@ objectValueForTableColumn:(NSTableColumn *)aTableColumn return ([tableContentView numberOfSelectedRows] == 1); } - return [super validateMenuItem:menuItem]; + return YES; } // Last but not least diff --git a/Source/TableSource.m b/Source/TableSource.m index f29cc6f9..f604f466 100644 --- a/Source/TableSource.m +++ b/Source/TableSource.m @@ -944,7 +944,7 @@ fetches the result as an array with a dictionary for each row in it return ([indexView numberOfSelectedRows] == 1); } - return [super validateMenuItem:menuItem]; + return YES; } #pragma mark - -- cgit v1.2.3