From 9e46c320043ceab5e0aa788af03110561fe1a189 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 2 Jan 2009 17:22:47 +0100 Subject: playlist: use GLib instead of utils.h --- src/stored_playlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stored_playlist.c') diff --git a/src/stored_playlist.c b/src/stored_playlist.c index fa1ae7cc9..a21feeeee 100644 --- a/src/stored_playlist.c +++ b/src/stored_playlist.c @@ -21,7 +21,6 @@ #include "song.h" #include "mapper.h" #include "path.h" -#include "utils.h" #include "ls.h" #include "database.h" #include "idle.h" @@ -32,6 +31,7 @@ #include #include #include +#include static struct stored_playlist_info * load_playlist_info(const char *parent_path_fs, const char *name_fs) @@ -179,7 +179,7 @@ spl_load(const char *utf8path) s = song_get_url(song, path_max_tmp); } - g_ptr_array_add(list, xstrdup(s)); + g_ptr_array_add(list, g_strdup(s)); if (list->len >= playlist_max_length) break; -- cgit v1.2.3