| author | Max Kellermann <max@duempel.org> | |
| Wed, 1 Oct 2008 07:37:51 +0000 (09:37 +0200) | ||
| committer | Max Kellermann <max@duempel.org> | |
| Wed, 1 Oct 2008 07:37:51 +0000 (09:37 +0200) | ||
| commit | 440618f6fec47a90d51d93a7640571fb0f2bc89c | |
| tree | 068a5e1935a802d86a587cb4528fbbd46fc15e98 | tree | snapshot |
| parent | 6860132693aa5844253891faf2318812ecfb0e2a | commit | diff |
screen_artist: convert metalist to GPtrArray
A linked list is quite uncomfortable here because there is a lot of
indexed access to the list. Use a GPtrArray of strings instead.
Note that mpdclient_get_artists_utf8() and mpdclient_get_albums_utf8()
return a linked list, and sorting is also performed on the linked
list. This will be optimized later.
A linked list is quite uncomfortable here because there is a lot of
indexed access to the list. Use a GPtrArray of strings instead.
Note that mpdclient_get_artists_utf8() and mpdclient_get_albums_utf8()
return a linked list, and sorting is also performed on the linked
list. This will be optimized later.
| src/screen_artist.c | diff | blob | history |