From e5b8a3b86d23fa4006a883c8123ba5fa07c4acee Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 2 Jan 2009 16:22:40 +0100 Subject: archive: use GLib instead of utils.h --- src/archive/zip_plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/archive/zip_plugin.c') diff --git a/src/archive/zip_plugin.c b/src/archive/zip_plugin.c index 76eec229d..1aa311065 100644 --- a/src/archive/zip_plugin.c +++ b/src/archive/zip_plugin.c @@ -23,7 +23,6 @@ #include "archive_api.h" #include "archive_api.h" #include "input_stream.h" -#include "utils.h" #include #include @@ -58,7 +57,8 @@ zip_open(char * pathname) while (zzip_dir_read(context->dir, &dirent)) { //add only files if (dirent.st_size > 0) { - context->list = g_slist_prepend( context->list, xstrdup(dirent.d_name)); + context->list = g_slist_prepend(context->list, + g_strdup(dirent.d_name)); } } -- cgit v1.2.3