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/sticker.h | |
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 'src/sticker.h')
-rw-r--r-- | src/sticker.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/sticker.h b/src/sticker.h index 689555fb0..2a76619cb 100644 --- a/src/sticker.h +++ b/src/sticker.h @@ -64,12 +64,11 @@ bool sticker_enabled(void); /** - * Populates a GList with GPtrArrays of sticker names and values from - * an object'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(). + * Populates a GHashTable with GStrings of sticker keys and values + * from an object's sticker record. The caller must free the returned + * GHashTable with g_hash_list_destroy(). */ -GList * +GHashTable * sticker_list_values(const char *type, const char *uri); /** |