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

@ -643,7 +643,6 @@ static void synclist_set(char* menu_id, int selection, int items, int sel_size)
rb->gui_synclist_init(&lists,list_get_name_cb,
menu_id, false, sel_size, NULL);
rb->gui_synclist_set_icon_callback(&lists,NULL);
rb->gui_synclist_set_voice_callback(&lists, list_voice_cb);
rb->gui_synclist_set_nb_items(&lists,items);
rb->gui_synclist_select_item(&lists, selection);