From 571cadb2662199084c6d317a34680f68314589bf Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 17 Sep 2008 12:06:04 +0200 Subject: 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. --- src/screen_play.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/screen_play.c') 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, }; -- cgit v1.2.3