diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2024-07-28 15:32:43 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-07-28 15:33:11 +0200 |
commit | 6d19214eeb13835f3343675417651e2eb03e270f (patch) | |
tree | 1f656094d58166ba7e5de256d7310018594726a4 /apps/plugins/random_folder_advance_config.c | |
parent | 68fc5b4a7afa937f095f0c8415c9ad52e9fa1b1f (diff) | |
download | rockbox-6d19214eeb13835f3343675417651e2eb03e270f.tar.gz rockbox-6d19214eeb13835f3343675417651e2eb03e270f.zip |
list: remove redundant setting of icon callback to NULL
gui_synclist_init already does this for us
Change-Id: I1288d389c6191416cbc3da37a333b1cad84ee779
Diffstat (limited to 'apps/plugins/random_folder_advance_config.c')
-rw-r--r-- | apps/plugins/random_folder_advance_config.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/plugins/random_folder_advance_config.c b/apps/plugins/random_folder_advance_config.c index 5688ff93d3..3d762c6db7 100644 --- a/apps/plugins/random_folder_advance_config.c +++ b/apps/plugins/random_folder_advance_config.c | |||
@@ -309,7 +309,6 @@ static int edit_list(void) | |||
309 | dirs_count = list->count; | 309 | dirs_count = list->count; |
310 | 310 | ||
311 | rb->gui_synclist_init(&lists,list_get_name_cb,0, false, 1, NULL); | 311 | rb->gui_synclist_init(&lists,list_get_name_cb,0, false, 1, NULL); |
312 | rb->gui_synclist_set_icon_callback(&lists,NULL); | ||
313 | rb->gui_synclist_set_nb_items(&lists,list->count); | 312 | rb->gui_synclist_set_nb_items(&lists,list->count); |
314 | rb->gui_synclist_select_item(&lists, 0); | 313 | rb->gui_synclist_select_item(&lists, 0); |
315 | 314 | ||