Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 2797:f0c1c8b22c88 | 2798:7144a4e5e978 |
|---|---|
| 229 header->priv_assoc->handle = module; | 229 header->priv_assoc->handle = module; |
| 230 header->priv_assoc->filename = g_strdup(filename); | 230 header->priv_assoc->filename = g_strdup(filename); |
| 231 | 231 |
| 232 for (ip_iter = header->ip_list; *ip_iter != NULL; ip_iter++) | 232 for (ip_iter = header->ip_list; *ip_iter != NULL; ip_iter++) |
| 233 { | 233 { |
| 234 PLUGIN(*ip_iter)->filename = g_strdup(filename); | |
| 234 g_print("plugin2 '%s' provides InputPlugin <%p>", filename, *ip_iter); | 235 g_print("plugin2 '%s' provides InputPlugin <%p>", filename, *ip_iter); |
| 235 input_plugin_init(PLUGIN(*ip_iter)); | 236 input_plugin_init(PLUGIN(*ip_iter)); |
| 236 } | 237 } |
| 237 | 238 |
| 238 for (op_iter = header->op_list; *op_iter != NULL; op_iter++) | 239 for (op_iter = header->op_list; *op_iter != NULL; op_iter++) |
