diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-28 19:51:52 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-28 19:51:52 +0100 |
commit | 0cdf6df414e5d59cc41d915c6d9f012299656c7e (patch) | |
tree | e22119ce3262be400a3c39fa7e21b1656e3ff280 /deadbeef.h | |
parent | 50bd3ec6e2a8f0d9c5073aad0f9b0b997fcc4ccb (diff) |
fixed crashbug when deleting tracks with search window opened
now it's possible to delete tracks in search window with Delete key
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -272,7 +272,7 @@ typedef struct { DB_playItem_t * (*pl_get_for_idx) (int idx); DB_playItem_t * (*pl_get_for_idx_and_iter) (int idx, int iter); float (*pl_get_totaltime) (void); - int (*pl_getcount) (void); + int (*pl_getcount) (int iter); DB_playItem_t *(*pl_getcurrent) (void); int (*pl_delete_selected) (void); void (*pl_set_cursor) (int iter, int cursor); @@ -313,7 +313,8 @@ typedef struct { // DB_playItem_t* (*pl_get_head) (void); // DB_playItem_t* (*pl_get_tail) (void); void (*pl_move_items) (int iter, DB_playItem_t *drop_before, uint32_t *indexes, int count); - int (*pl_process_search) (const char *text); + void (*pl_search_reset) (void); + void (*pl_search_process) (const char *text); // metainfo void (*pl_add_meta) (DB_playItem_t *it, const char *key, const char *value); const char *(*pl_find_meta) (DB_playItem_t *song, const char *meta); |