diff audacious/pluginenum.c @ 1970:94a720c9bfef trunk

[svn] - only GModule would be so dumb to push all symbols to the global namespace by default. I hate GLib.
author nenolod
date Sun, 12 Nov 2006 12:50:16 -0800
parents a6e6d3500c13
children 78002535143b
line wrap: on
line diff
--- a/audacious/pluginenum.c	Sun Nov 12 06:55:04 2006 -0800
+++ b/audacious/pluginenum.c	Sun Nov 12 12:50:16 2006 -0800
@@ -216,7 +216,7 @@
     if (plugin_is_duplicate(filename))
         return;
 
-    if (!(module = g_module_open(filename, 0))) {
+    if (!(module = g_module_open(filename, G_MODULE_BIND_LOCAL))) {
         printf("Failed to load plugin (%s): %s\n", 
                   filename, g_module_error());
         return;