From e2dc3c948ff43fbc7ed0dc5bedf207d139293a97 Mon Sep 17 00:00:00 2001 From: Eric Wollesen Date: Wed, 11 Mar 2009 17:03:01 -0600 Subject: Move from the opaque GPtrArray to GHashTable for sticker lists. --- src/song_sticker.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/song_sticker.h') diff --git a/src/song_sticker.h b/src/song_sticker.h index 68124580f..e2d68163f 100644 --- a/src/song_sticker.h +++ b/src/song_sticker.h @@ -40,12 +40,10 @@ sticker_song_set_value(const struct song *song, const char *name, const char *value); /** - * Returns a list of key value pairs from a song's sticker record. - * The caller must free each GPtrArray element of the returned list - * with g_ptr_array_free(), as well as the returned GList with - * g_list_free(). + * Returns a hash table of key value pairs from a song's sticker record. + * The caller must free the GHashTable with g_hash_table_destroy(). */ -GList * +GHashTable * sticker_song_list_values(const struct song *song); /** -- cgit v1.2.3