From b57481d1dfcc9a479290f4b1849c210f951c03f2 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 16 Aug 2010 15:21:14 +0200 Subject: Use GSList with music storage. --- music.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'music.h') diff --git a/music.h b/music.h index b643c8e..4213fc5 100644 --- a/music.h +++ b/music.h @@ -9,13 +9,12 @@ struct file { gchar *name; gssize size; - struct file *next; }; struct directory { gchar *path; - struct directory *sub, *next; - struct file *files; + GSList *sub; + GSList *files; }; extern struct directory *music_root; -- cgit v1.2.3