diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-12-17 22:39:47 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-12-17 22:39:47 +0100 |
commit | fc493f5e80de2860c73b998c8ce187ea68bedcdf (patch) | |
tree | 6cc06a89530d8b2bc9d8ca1a3e361cf9fdc465af /plugins.c | |
parent | f30ba666c5fa2a16c0b5b2ee1d253ab2ac71de09 (diff) |
fix bug #1020: incorrect cursor/scroll after deleting playlists
Diffstat (limited to 'plugins.c')
-rw-r--r-- | plugins.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |