diff options
author | Eric Wollesen <ericw@xmtp.net> | 2009-03-11 17:03:01 -0600 |
---|---|---|
committer | Eric Wollesen <ericw@xmtp.net> | 2009-03-11 17:03:01 -0600 |
commit | e2dc3c948ff43fbc7ed0dc5bedf207d139293a97 (patch) | |
tree | 328f6f4615be055cc9f709d2d4746d57041451ce /src/song_sticker.c | |
parent | ce6ef89f26d8243e863c9a5a419f91db27e3d6f4 (diff) | |
download | mpd-e2dc3c948ff43fbc7ed0dc5bedf207d139293a97.tar.gz mpd-e2dc3c948ff43fbc7ed0dc5bedf207d139293a97.tar.xz mpd-e2dc3c948ff43fbc7ed0dc5bedf207d139293a97.zip |
Move from the opaque GPtrArray to GHashTable for sticker lists.
Diffstat (limited to '')
-rw-r--r-- | src/song_sticker.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/song_sticker.c b/src/song_sticker.c index bf400c15b..3c77c184b 100644 --- a/src/song_sticker.c +++ b/src/song_sticker.c @@ -39,20 +39,20 @@ sticker_song_get_value(const struct song *song, const char *name) return value; } -GList * +GHashTable * sticker_song_list_values(const struct song *song) { char *uri; - GList *list; + GHashTable *hash; assert(song != NULL); assert(song_in_database(song)); uri = song_get_uri(song); - list = sticker_list_values("song", uri); + hash = sticker_list_values("song", uri); g_free(uri); - return list; + return hash; } bool |