aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin-manager.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-11-17 13:50:42 +0100
committerAleksander Morgado <aleksander@aleksander.es>2019-11-27 10:11:43 +0000
commit8fcc470a5cdea2987536df9436e99a19a58473eb (patch)
treefdb34d6ac648a82f57c55b540f1ad26d1ed2a730 /src/mm-plugin-manager.c
parentb1c3f1eb1c740975b3ea387ae5e08dc426643c8b (diff)
plugin-manager: always make sure all needed symbols are available
Never do lazy loading, we'll always make sure that a plugin will only be fully loaded if all the symbols it requires are already available.
Diffstat (limited to 'src/mm-plugin-manager.c')
-rw-r--r--src/mm-plugin-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-plugin-manager.c b/src/mm-plugin-manager.c
index 3faf169b..5a241793 100644
--- a/src/mm-plugin-manager.c
+++ b/src/mm-plugin-manager.c
@@ -1599,7 +1599,7 @@ load_plugin (const gchar *path)
/* Get printable UTF-8 string of the path */
path_display = g_filename_display_name (path);
- module = g_module_open (path, G_MODULE_BIND_LAZY);
+ module = g_module_open (path, 0);
if (!module) {
mm_warn ("[plugin manager] could not load plugin '%s': %s", path_display, g_module_error ());
goto out;
@@ -1660,7 +1660,7 @@ load_shared (const gchar *path)
/* Get printable UTF-8 string of the path */
path_display = g_filename_display_name (path);
- module = g_module_open (path, G_MODULE_BIND_LAZY);
+ module = g_module_open (path, 0);
if (!module) {
mm_warn ("[plugin manager] could not load shared '%s': %s", path_display, g_module_error ());
goto out;