diff options
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r-- | apps/root_menu.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index 584328bd4b..49379bbbfc 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -437,7 +437,9 @@ static const struct root_items items[] = { | |||
437 | }; | 437 | }; |
438 | static const int nb_items = sizeof(items)/sizeof(*items); | 438 | static const int nb_items = sizeof(items)/sizeof(*items); |
439 | 439 | ||
440 | static int item_callback(int action, const struct menu_item_ex *this_item) ; | 440 | static int item_callback(int action, |
441 | const struct menu_item_ex *this_item, | ||
442 | struct gui_synclist *this_list); | ||
441 | 443 | ||
442 | MENUITEM_RETURNVALUE(shortcut_menu, ID2P(LANG_SHORTCUTS), GO_TO_SHORTCUTMENU, | 444 | MENUITEM_RETURNVALUE(shortcut_menu, ID2P(LANG_SHORTCUTS), GO_TO_SHORTCUTMENU, |
443 | NULL, Icon_Bookmark); | 445 | NULL, Icon_Bookmark); |
@@ -621,8 +623,11 @@ bool root_menu_is_changed(void* setting, void* defaultval) | |||
621 | return *(bool*)setting; | 623 | return *(bool*)setting; |
622 | } | 624 | } |
623 | 625 | ||
624 | static int item_callback(int action, const struct menu_item_ex *this_item) | 626 | static int item_callback(int action, |
627 | const struct menu_item_ex *this_item, | ||
628 | struct gui_synclist *this_list) | ||
625 | { | 629 | { |
630 | (void)this_list; | ||
626 | switch (action) | 631 | switch (action) |
627 | { | 632 | { |
628 | case ACTION_TREE_STOP: | 633 | case ACTION_TREE_STOP: |