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_artist.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_artist.c')
-rw-r--r-- | src/screen_artist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen_artist.c b/src/screen_artist.c index 6857b66ad..b8f5bb018 100644 --- a/src/screen_artist.c +++ b/src/screen_artist.c @@ -211,7 +211,7 @@ resize(int cols, int rows) } static void -paint(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c) +paint(mpd_unused mpdclient_t *c) { if (browser.filelist) { list_window_paint(browser.lw, browser_lw_callback, @@ -226,7 +226,7 @@ paint(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c) } static void -update(screen_t *screen, mpdclient_t *c) +update(mpd_unused screen_t *screen, mpdclient_t *c) { if (browser.filelist && !browser.filelist->updated) list_window_paint(browser.lw, browser_lw_callback, @@ -234,7 +234,7 @@ update(screen_t *screen, mpdclient_t *c) else if (metalist) list_window_paint(browser.lw, artist_lw_callback, metalist); else - paint(screen, c); + paint(c); wnoutrefresh(browser.lw->w); } |