Code

list_window: added attribute "length"
authorMax Kellermann <max@duempel.org>
Sat, 10 Oct 2009 14:07:33 +0000 (16:07 +0200)
committerMax Kellermann <max@duempel.org>
Sat, 10 Oct 2009 14:07:33 +0000 (16:07 +0200)
commit807add769f3b1696f8fea357af04e5d07a5cb7bb
treeb60c870a743c5c247e393fc17383e33edb7eee13
parentcc2f58b12e1170f1b1f52d64f2c06c1172112949
list_window: added attribute "length"

Don't pass the number of list items to each and every function.
Instead, call list_window_set_length() each time the list contents
change.
14 files changed:
src/list_window.c
src/list_window.h
src/screen_artist.c
src/screen_browser.c
src/screen_file.c
src/screen_find.c
src/screen_find.h
src/screen_help.c
src/screen_keydef.c
src/screen_outputs.c
src/screen_play.c
src/screen_search.c
src/screen_song.c
src/screen_text.c