From fc493f5e80de2860c73b998c8ce187ea68bedcdf Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Tue, 17 Dec 2013 22:39:47 +0100 Subject: fix bug #1020: incorrect cursor/scroll after deleting playlists --- plugins.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins.c') diff --git a/plugins.c b/plugins.c index 0d9872ef..d314570c 100644 --- a/plugins.c +++ b/plugins.c @@ -365,6 +365,9 @@ static DB_functions_t deadbeef_api = { .plt_add_files_begin = (int (*) (ddb_playlist_t *plt, int visibility))plt_add_files_begin, .plt_add_files_end = (void (*) (ddb_playlist_t *plt, int visibility))plt_add_files_end, .plt_deselect_all = (void (*) (ddb_playlist_t *plt))plt_deselect_all, + // ******* new 1.6 APIs ******** + .plt_set_scroll = (void (*) (ddb_playlist_t *plt, int scroll))plt_set_scroll, + .plt_get_scroll = (int (*) (ddb_playlist_t *plt))plt_get_scroll, }; DB_functions_t *deadbeef = &deadbeef_api; -- cgit v1.2.3