diff options
author | 2011-05-10 21:34:49 +0200 | |
---|---|---|
committer | 2011-05-10 21:34:49 +0200 | |
commit | 9d529eb05995069583ffa3e07670c0ea23b42b15 (patch) | |
tree | 055c27ab1954e8a8493a519bc5de9d27807293a9 /plugins/gtkui/search.c | |
parent | 1a8737e1466a3c17d77ab30e2035472feb7c2773 (diff) |
added several new plt_* functions to work on specific playlists
Diffstat (limited to 'plugins/gtkui/search.c')
-rw-r--r-- | plugins/gtkui/search.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gtkui/search.c b/plugins/gtkui/search.c index 4c6bd99b..d71b4cef 100644 --- a/plugins/gtkui/search.c +++ b/plugins/gtkui/search.c @@ -62,7 +62,9 @@ search_start (void) { void search_process (const char *text) { - deadbeef->pl_search_process (text); + ddb_playlist_t *plt = deadbeef->plt_get_curr (); + deadbeef->plt_search_process (plt, text); + deadbeef->plt_unref (plt); int row = deadbeef->pl_get_cursor (PL_SEARCH); if (row >= deadbeef->pl_getcount (PL_SEARCH)) { |