[grilo/0.2.x] core: Load modules with G_MODULE_BIND_LOCAL



commit a99f2686d02619e75e7e385441eda001f19b35a8
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 7 15:49:53 2012 +0200

    core: Load modules with G_MODULE_BIND_LOCAL

 src/grl-registry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/grl-registry.c b/src/grl-registry.c
index 1a125c6..fab6aea 100644
--- a/src/grl-registry.c
+++ b/src/grl-registry.c
@@ -782,7 +782,7 @@ grl_registry_load_plugin (GrlRegistry *registry,
 
   g_return_val_if_fail (GRL_IS_REGISTRY (registry), FALSE);
 
-  module = g_module_open (library_filename, G_MODULE_BIND_LAZY);
+  module = g_module_open (library_filename, G_MODULE_BIND_LOCAL);
   if (!module) {
     GRL_WARNING ("Failed to open module: '%s'", library_filename);
     g_set_error (error,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]