From 1f5ee2a3665e2a21d39b55f65f6c9c9a1de4e7fa Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 25 Mar 2007 14:31:56 +0000 Subject: convert the xobox menu to the new API so it can be used as an example for plugin devs Includes some fixes in the api to handle this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12907 a1c6a512-1295-4272-9138-f99709370657 --- apps/menu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/menu.h') diff --git a/apps/menu.h b/apps/menu.h index 3a7a2de..aab2365 100644 --- a/apps/menu.h +++ b/apps/menu.h @@ -130,7 +130,7 @@ bool do_setting_from_menu(const struct menu_item_ex *temp); static const struct menu_item_ex name = \ {MT_RETURN_ID|MENU_HAS_DESC| \ MENU_ITEM_COUNT(sizeof( name##_)/sizeof(*name##_)), \ - { .submenus = name##_},{.callback_and_desc = & name##__}}; + { .strings = name##_},{.callback_and_desc = & name##__}}; /* returns a value associated with the item */ -- cgit v1.1