Changeset 865

Show
Ignore:
Timestamp:
04/29/08 21:33:01 (5 months ago)
Author:
takkaria
Message:

Remove a chunk of unused code from the menu API.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/ui-menu.c

    r864 r865  
    303303        display_columns, 
    304304        column_get_tag 
    305 }; 
    306  
    307 /* ================== IMPLICIT MENU FOR KEY SELECTION ================== */ 
    308  
    309 static void display_nothing(menu_type *menu, int cursor, int *top, region *loc) 
    310 { 
    311 } 
    312  
    313 static int no_cursor(int row, int col, int n, int top, region *loc) 
    314 { 
    315         return -1; 
    316 } 
    317  
    318 static const menu_skin menu_skin_key_select = 
    319 { 
    320         no_cursor, 
    321         display_nothing, 
    322         NULL, 
    323305}; 
    324306 
     
    848830                case MN_SKIN_COLUMNS: 
    849831                        return &menu_skin_column; 
    850  
    851                 case MN_SKIN_KEY_ONLY: 
    852                         return &menu_skin_key_select; 
    853832        } 
    854833 
  • trunk/src/ui-menu.h

    r864 r865  
    154154{ 
    155155        MN_SKIN_SCROLL = 1,   /**< Ordinary scrollable single-column list */ 
    156         MN_SKIN_COLUMNS = 2,  /**< Multicolumn view */ 
    157         MN_SKIN_KEY_ONLY = 3, /**< No display */ 
     156        MN_SKIN_COLUMNS = 2   /**< Multicolumn view */ 
    158157} skin_id; 
    159158