mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
Print dl error message if load fails.
This commit is contained in:
parent
ec09ac49f6
commit
d6b974ba15
@ -59,7 +59,8 @@ mutter_module_load (GTypeModule *gmodule)
|
|||||||
if (!priv->lib &&
|
if (!priv->lib &&
|
||||||
!(priv->lib = g_module_open (priv->path, G_MODULE_BIND_LOCAL)))
|
!(priv->lib = g_module_open (priv->path, G_MODULE_BIND_LOCAL)))
|
||||||
{
|
{
|
||||||
g_warning ("Could not load library [%s]", priv->path);
|
g_warning ("Could not load library [%s (%s)]",
|
||||||
|
priv->path, g_module_error ());
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user