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_play.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_play.c')
-rw-r--r-- | src/screen_play.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/screen_play.c b/src/screen_play.c index 22d7198aa..6b4de7893 100644 --- a/src/screen_play.c +++ b/src/screen_play.c @@ -497,12 +497,6 @@ play_cmd(screen_t *screen, mpdclient_t *c, command_t cmd) return list_window_cmd(lw, c->playlist.list->len, cmd); } -static list_window_t * -play_lw(void) -{ - return lw; -} - const struct screen_functions screen_playlist = { .init = play_init, .exit = play_exit, @@ -512,6 +506,5 @@ const struct screen_functions screen_playlist = { .paint = play_paint, .update = play_update, .cmd = play_cmd, - .get_lw = play_lw, .get_title = play_title, }; |