diff src/audacious/pluginenum.c @ 2798:7144a4e5e978 trunk

[svn] - temporarily work around plugin API v1 retardation
author nenolod
date Thu, 24 May 2007 03:37:54 -0700
parents f0c1c8b22c88
children febdfe7a482b
line wrap: on
line diff
--- a/src/audacious/pluginenum.c	Thu May 24 03:27:54 2007 -0700
+++ b/src/audacious/pluginenum.c	Thu May 24 03:37:54 2007 -0700
@@ -231,6 +231,7 @@
 
     for (ip_iter = header->ip_list; *ip_iter != NULL; ip_iter++)
     {
+        PLUGIN(*ip_iter)->filename = g_strdup(filename);
         g_print("plugin2 '%s' provides InputPlugin <%p>", filename, *ip_iter);
         input_plugin_init(PLUGIN(*ip_iter));
     }