aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_browser.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-19 16:22:44 +0200
committerMax Kellermann <max@duempel.org>2008-09-19 16:22:44 +0200
commite3b42caa5d39d084ba511aee43fada91e367ae3e (patch)
tree5533943f014ba260fd3b27547a73363612b2b3e5 /src/screen_browser.c
parent28a463b53369e9f26d6fb0a755af588faac38e18 (diff)
downloadmpd-e3b42caa5d39d084ba511aee43fada91e367ae3e.tar.gz
mpd-e3b42caa5d39d084ba511aee43fada91e367ae3e.tar.xz
mpd-e3b42caa5d39d084ba511aee43fada91e367ae3e.zip
filelist: drop "mpdclient" prefix
The separate filelist library does not depend on mpdclient, so the prefix is superfluous.
Diffstat (limited to '')
-rw-r--r--src/screen_browser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen_browser.c b/src/screen_browser.c
index 828cbe21c..47fda6abe 100644
--- a/src/screen_browser.c
+++ b/src/screen_browser.c
@@ -54,7 +54,7 @@ clear_highlights(mpdclient_filelist_t *fl)
static void
set_highlight(mpdclient_filelist_t *fl, mpd_Song *song, int highlight)
{
- struct filelist_entry *entry = mpdclient_filelist_find_song(fl, song);
+ struct filelist_entry *entry = filelist_find_song(fl, song);
mpd_InfoEntity *entity;
if (entry == NULL)
@@ -201,7 +201,7 @@ browser_change_directory(struct screen_browser *browser, mpdclient_t *c,
} else
return -1;
- mpdclient_filelist_free(browser->filelist);
+ filelist_free(browser->filelist);
browser->filelist = mpdclient_filelist_get(c, path);
sync_highlights(c, browser->filelist);
list_window_check_selected(browser->lw, browser->filelist->length);