From 39f0c41fbf94f2ac078478867ff95a92a62480fb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 23 Oct 2008 09:54:28 +0200 Subject: stored_playlist: spl_load() returns GPtrArray Don't use our deprecated linked list library, use GLib's GPtrArray instead. --- src/stored_playlist.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/stored_playlist.h') diff --git a/src/stored_playlist.h b/src/stored_playlist.h index 4841ca80e..8ba756853 100644 --- a/src/stored_playlist.h +++ b/src/stored_playlist.h @@ -19,7 +19,6 @@ #ifndef MPD_STORED_PLAYLIST_H #define MPD_STORED_PLAYLIST_H -#include "list.h" #include "playlist.h" #include @@ -42,9 +41,12 @@ spl_list(void); void spl_list_free(GPtrArray *list); -List * +GPtrArray * spl_load(const char *utf8path); +void +spl_free(GPtrArray *list); + enum playlist_result spl_move_index(const char *utf8path, unsigned src, unsigned dest); -- cgit v1.2.3