diff options
author | Emmanuele Bassi <ebassi@cvs.gnome.org> | 2005-10-31 02:37:18 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-10-31 02:37:18 +0800 |
commit | fde24ab0878f35c43b037a646bd22c78165a0139 (patch) | |
tree | 91477c71f5e11d8788bcb6789ca415c98281ef1d /lib/ephy-module.c | |
parent | b693cc1a050fdb0d2e7cb358d7e2d5af528f855c (diff) | |
download | gsoc2013-epiphany-fde24ab0878f35c43b037a646bd22c78165a0139.tar gsoc2013-epiphany-fde24ab0878f35c43b037a646bd22c78165a0139.tar.gz gsoc2013-epiphany-fde24ab0878f35c43b037a646bd22c78165a0139.tar.bz2 gsoc2013-epiphany-fde24ab0878f35c43b037a646bd22c78165a0139.tar.lz gsoc2013-epiphany-fde24ab0878f35c43b037a646bd22c78165a0139.tar.xz gsoc2013-epiphany-fde24ab0878f35c43b037a646bd22c78165a0139.tar.zst gsoc2013-epiphany-fde24ab0878f35c43b037a646bd22c78165a0139.zip |
Use G_MODULE_BIND_LAZY when dlopening modules.
2005-10-30 Emmanuele Bassi <ebassi@cvs.gnome.org>
* lib/ephy-glade.c: (glade_signal_connect_func):
* lib/ephy-module.c: (ephy_module_load):
Use G_MODULE_BIND_LAZY when dlopening modules.
Diffstat (limited to 'lib/ephy-module.c')
-rw-r--r-- | lib/ephy-module.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/ephy-module.c b/lib/ephy-module.c index 90a7f1713..1da457aaa 100644 --- a/lib/ephy-module.c +++ b/lib/ephy-module.c @@ -105,14 +105,16 @@ ephy_module_load (GTypeModule *gmodule) { char *path = g_build_filename (ephy_dot_dir(), "extensions", module->path, NULL); - module->library = g_module_open (path, 0); - + module->library = g_module_open (path, G_MODULE_BIND_LAZY | + G_MODULE_BIND_LOCAL); + g_free (path); } if (module->library == NULL) { - module->library = g_module_open (module->path, 0); + module->library = g_module_open (module->path, G_MODULE_BIND_LAZY | + G_MODULE_BIND_LOCAL); } if (module->library == NULL) |