changeset 4780:6284337e04fd

g_basename is deprecated, replace with g_path_get_basename.
author Tony Vroon <chainsaw@gentoo.org>
date Fri, 26 Sep 2008 21:38:00 +0100
parents aa79a84627b9
children c2dc7a3a7240
files src/audacious/playlist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/playlist.c	Fri Sep 26 21:02:49 2008 +0100
+++ b/src/audacious/playlist.c	Fri Sep 26 21:38:00 2008 +0100
@@ -866,7 +866,7 @@
 file_is_hidden(const gchar * filename)
 {
     g_return_val_if_fail(filename != NULL, FALSE);
-    return (g_basename(filename)[0] == '.');
+    return (g_path_get_basename(filename)[0] == '.');
 }
 
 static GList *