Ignore:
Timestamp:
02/24/08 06:03:02 (12 years ago)
Author:
Nicholas Riley
Message:

Replace id<NSMenuItem> with NSMenuItem * to remove warnings.

Minor code style cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/F-Script Anywhere/Source/FSAViewAssociationController.m

    r224 r397  
    7272}
    7373
    74 - (void)_addElement:(id)element withLabel:(NSString *)label toSubmenuForItem:(id<NSMenuItem>)item;
     74- (void)_addElement:(id)element withLabel:(NSString *)label toSubmenuForItem:(NSMenuItem *)item;
    7575{
    7676    NSMenu *submenu = [item submenu];
    77     id<NSMenuItem> subItem;
     77    NSMenuItem *subItem;
    7878    if (submenu == nil) {
    7979        id superElement = [item representedObject];
     
    9797}
    9898
    99 - (void)_addValueForSelector:(SEL)sel withLabel:(NSString *)label toSubmenuForItem:(id<NSMenuItem>)item;
     99- (void)_addValueForSelector:(SEL)sel withLabel:(NSString *)label toSubmenuForItem:(NSMenuItem *)item;
    100100{
    101101    id obj = [item representedObject];
     
    109109- (void)_addElementToMenu:(id)element;
    110110{
    111     id<NSMenuItem> item;
     111    NSMenuItem *item;
    112112    if (element == nil) return;
    113113    item = [viewHierarchyMenu addItemWithTitle: [@"  "
Note: See TracChangeset for help on using the changeset viewer.