aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_sticker.h
diff options
context:
space:
mode:
authorEric Wollesen <ericw@xmtp.net>2009-03-11 17:03:01 -0600
committerEric Wollesen <ericw@xmtp.net>2009-03-11 17:03:01 -0600
commite2dc3c948ff43fbc7ed0dc5bedf207d139293a97 (patch)
tree328f6f4615be055cc9f709d2d4746d57041451ce /src/song_sticker.h
parentce6ef89f26d8243e863c9a5a419f91db27e3d6f4 (diff)
downloadmpd-e2dc3c948ff43fbc7ed0dc5bedf207d139293a97.tar.gz
mpd-e2dc3c948ff43fbc7ed0dc5bedf207d139293a97.tar.xz
mpd-e2dc3c948ff43fbc7ed0dc5bedf207d139293a97.zip
Move from the opaque GPtrArray to GHashTable for sticker lists.
Diffstat (limited to 'src/song_sticker.h')
-rw-r--r--src/song_sticker.h8
1 files changed, 3 insertions, 5 deletions
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);
/**