summaryrefslogtreecommitdiff
path: root/apps/plugins/properties.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-09-19 11:52:30 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-10-05 11:22:34 -0400
commitff378deb69951a53b866f3d3c6ee13022e520436 (patch)
tree4e608fc9004d225b1121e3545642ab56186d0c0a /apps/plugins/properties.c
parentead172c05d57568d201709c5fac77cbb8982bbd0 (diff)
downloadrockbox-ff378deb69951a53b866f3d3c6ee13022e520436.tar.gz
rockbox-ff378deb69951a53b866f3d3c6ee13022e520436.zip
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
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r--apps/plugins/properties.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c
index c4378a0356..89ea722e9e 100644
--- a/apps/plugins/properties.c
+++ b/apps/plugins/properties.c
@@ -389,7 +389,6 @@ enum plugin_status plugin_start(const void* parameter)
389 rb->gui_synclist_set_nb_items(&properties_lists, 389 rb->gui_synclist_set_nb_items(&properties_lists,
390 2 * (props_type == PROPS_FILE ? NUM_FILE_PROPERTIES : 390 2 * (props_type == PROPS_FILE ? NUM_FILE_PROPERTIES :
391 NUM_DIR_PROPERTIES)); 391 NUM_DIR_PROPERTIES));
392 rb->gui_synclist_limit_scroll(&properties_lists, true);
393 rb->gui_synclist_select_item(&properties_lists, 0); 392 rb->gui_synclist_select_item(&properties_lists, 0);
394 rb->gui_synclist_draw(&properties_lists); 393 rb->gui_synclist_draw(&properties_lists);
395 rb->gui_synclist_speak_item(&properties_lists); 394 rb->gui_synclist_speak_item(&properties_lists);