diff options
author | Max Kellermann <max@duempel.org> | 2008-09-25 17:40:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-25 17:40:59 +0200 |
commit | 1230f84524fc1625e0ff9eda67e2840334d7916f (patch) | |
tree | 47871f4881fb80689c0f5d60cc67cc6dea8bbd82 /src/screen_lyrics.c | |
parent | db3d8351879b4c69408be0e25f45cd514ad42044 (diff) | |
download | mpd-1230f84524fc1625e0ff9eda67e2840334d7916f.tar.gz mpd-1230f84524fc1625e0ff9eda67e2840334d7916f.tar.xz mpd-1230f84524fc1625e0ff9eda67e2840334d7916f.zip |
screen: don't pass screen pointer to method paint()
None of the paint() implementations actually use the screen pointer -
remove it from the method signature.
Diffstat (limited to 'src/screen_lyrics.c')
-rw-r--r-- | src/screen_lyrics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index 50f41b7f6..931b114fb 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -260,7 +260,7 @@ lyrics_title(char *str, size_t size) } static void -lyrics_paint(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c) +lyrics_paint(mpd_unused mpdclient_t *c) { list_window_paint(lw, list_callback, NULL); } @@ -297,7 +297,7 @@ lyrics_cmd(screen_t *screen, mpdclient_t *c, command_t cmd) case CMD_LYRICS_UPDATE: if (c->song != NULL) { screen_lyrics_load(c->song); - lyrics_paint(NULL, NULL); + lyrics_paint(NULL); wrefresh(lw->w); } return 1; |