From ff378deb69951a53b866f3d3c6ee13022e520436 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Mon, 19 Sep 2022 11:52:30 +0100 Subject: 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 --- apps/plugin.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 686dd48674..6bbad26489 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -157,12 +157,12 @@ int plugin_open(const char *plugin, const char *parameter); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 252 +#define PLUGIN_API_VERSION 253 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 252 +#define PLUGIN_MIN_API_VERSION 253 /* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */ @@ -373,7 +373,6 @@ struct plugin_api { int item_number); void (*gui_synclist_add_item)(struct gui_synclist * lists); void (*gui_synclist_del_item)(struct gui_synclist * lists); - void (*gui_synclist_limit_scroll)(struct gui_synclist * lists, bool scroll); bool (*gui_synclist_do_button)(struct gui_synclist * lists, int *action, enum list_wrap wrap); void (*gui_synclist_set_title)(struct gui_synclist *lists, const char* title, -- cgit v1.2.3