1
0
Fork 0
forked from len0rd/rockbox

list: remove redundant setting of icon callback to NULL

gui_synclist_init already does this for us

Change-Id: I1288d389c6191416cbc3da37a333b1cad84ee779
This commit is contained in:
Christian Soffke 2024-07-28 15:32:43 +02:00
parent 68fc5b4a7a
commit 6d19214eeb
12 changed files with 0 additions and 14 deletions

View file

@ -674,7 +674,6 @@ struct pgn_game_node* pgn_show_game_list(struct pgn_game_node* first_game){
rb->gui_synclist_init(&games_list, &get_game_text, first_game, false, 1, NULL);
rb->gui_synclist_set_title(&games_list, rb->str(LANG_CHESSBOX_GAMES), NOICON);
rb->gui_synclist_set_icon_callback(&games_list, NULL);
if (rb->global_settings->talk_menu)
rb->gui_synclist_set_voice_callback(&games_list, speak_game_selection);
rb->gui_synclist_set_nb_items(&games_list, i);