changeset 4779:aa79a84627b9

g_basename is deprecated, replace with g_path_get_basename.
author Tony Vroon <chainsaw@gentoo.org>
date Fri, 26 Sep 2008 21:02:49 +0100
parents dde7262d0a35
children 6284337e04fd
files src/audacious/effect.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/effect.c	Mon Sep 22 20:14:12 2008 +0300
+++ b/src/audacious/effect.c	Fri Sep 26 21:02:49 2008 +0100
@@ -125,12 +125,12 @@
 
     if (g_list_length(node)) {
         enalist =
-            g_strdup(g_basename(((EffectPlugin *) node->data)->filename));
+            g_path_get_basename(((EffectPlugin *) node->data)->filename);
         node = node->next;
         while (node) {
             temp = enalist;
             temp2 =
-                g_strdup(g_basename(((EffectPlugin *) node->data)->filename));
+                g_path_get_basename(((EffectPlugin *) node->data)->filename);
             enalist = g_strconcat(temp, ",", temp2, NULL);
             g_free(temp);
             g_free(temp2);