mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
Don't use G_MODULE_BIND_LOCAL
Using G_MODULE_BIND_LOCAL causes problems for introspecting plugins, since introspected symbols need to be globally available. And in any case, trying to use linker features to prevent symbol conflicts doesn't usually work out very well, it's better to just namespace properly. http://bugzilla.gnome.org/show_bug.cgi?id=580033
This commit is contained in:
parent
a4746d75e6
commit
96dfeea412
@ -57,7 +57,7 @@ mutter_module_load (GTypeModule *gmodule)
|
||||
g_assert (priv->path);
|
||||
|
||||
if (!priv->lib &&
|
||||
!(priv->lib = g_module_open (priv->path, G_MODULE_BIND_LOCAL)))
|
||||
!(priv->lib = g_module_open (priv->path, 0)))
|
||||
{
|
||||
g_warning ("Could not load library [%s (%s)]",
|
||||
priv->path, g_module_error ());
|
||||
|
Loading…
Reference in New Issue
Block a user