diff options
author | Max Kellermann <max@duempel.org> | 2008-09-17 12:06:04 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-17 12:06:04 +0200 |
commit | 571cadb2662199084c6d317a34680f68314589bf (patch) | |
tree | 9c7af79c37e64913e00f785b4a61983e1b9d5e46 /src/screen_file.c | |
parent | 51cb2863dd7def8505ba37bdbcb8221416c26f55 (diff) | |
download | mpd-571cadb2662199084c6d317a34680f68314589bf.tar.gz mpd-571cadb2662199084c6d317a34680f68314589bf.tar.xz mpd-571cadb2662199084c6d317a34680f68314589bf.zip |
screen: removed screen_functions.get_lw()
If it is really important to set the curser, we should think of a
better way, instead of exporting one non-generic method. For now,
just set the cursor to the origin.
Diffstat (limited to 'src/screen_file.c')
-rw-r--r-- | src/screen_file.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/screen_file.c b/src/screen_file.c index e996aba09..264045739 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -745,12 +745,6 @@ browse_cmd(screen_t *screen, mpdclient_t *c, command_t cmd) return list_window_cmd(lw, filelist->length, cmd); } -static list_window_t * -get_filelist_window(void) -{ - return lw; -} - const struct screen_functions screen_browse = { .init = browse_init, .exit = browse_exit, @@ -760,7 +754,6 @@ const struct screen_functions screen_browse = { .paint = browse_paint, .update = browse_update, .cmd = browse_cmd, - .get_lw = get_filelist_window, .get_title = browse_title, }; |