aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_help.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-17 12:06:04 +0200
committerMax Kellermann <max@duempel.org>2008-09-17 12:06:04 +0200
commit571cadb2662199084c6d317a34680f68314589bf (patch)
tree9c7af79c37e64913e00f785b4a61983e1b9d5e46 /src/screen_help.c
parent51cb2863dd7def8505ba37bdbcb8221416c26f55 (diff)
downloadmpd-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 '')
-rw-r--r--src/screen_help.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/screen_help.c b/src/screen_help.c
index bfefc1e7a..7c5134fc6 100644
--- a/src/screen_help.c
+++ b/src/screen_help.c
@@ -300,12 +300,6 @@ help_cmd(screen_t *screen, mpd_unused mpdclient_t *c, command_t cmd)
return 0;
}
-static list_window_t *
-help_lw(void)
-{
- return lw;
-}
-
const struct screen_functions screen_help = {
.init = help_init,
.exit = help_exit,
@@ -313,6 +307,5 @@ const struct screen_functions screen_help = {
.paint = help_paint,
.update = help_update,
.cmd = help_cmd,
- .get_lw = help_lw,
.get_title = help_title,
};