mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
gui: Remove gui_synclist_limit_scroll()
Since gui_synclist_do_button() overrides the setting at runtime there is no reason to have a public API call to set it. Really it should be a local variable, but it will be simpler to do that after refactoring how list wraparound behavior is handled. Change-Id: Id09d42197814102693752a9f64db8325118ca796
This commit is contained in:
parent
ead172c05d
commit
ff378deb69
19 changed files with 10 additions and 39 deletions
|
@ -1950,7 +1950,6 @@ static void synclist_set(int id, int selected_item, int items, int sel_size)
|
|||
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_limit_scroll(&lists,true);
|
||||
rb->gui_synclist_select_item(&lists, selected_item);
|
||||
printcell_enable(&lists, false, false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue