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

@ -212,7 +212,6 @@ static bool save_changes(int overwrite)
static void setup_lists(struct gui_synclist *lists, int sel)
{
rb->gui_synclist_init(lists,list_get_name_cb,0, false, 1, NULL);
rb->gui_synclist_set_icon_callback(lists,NULL);
rb->gui_synclist_set_nb_items(lists,line_count);
rb->gui_synclist_select_item(lists, sel);
rb->gui_synclist_draw(lists);