From 32624a5c3497828834c2c299fe5c7142979bdfbb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 14 Nov 2005 23:13:06 +0000 Subject: Pass G_MODULE_BIND_LAZY to g_module_open. (Pointed by John Rice) 2005-11-14 Behdad Esfahbod * pango/modules.c (pango_module_load), pango/querymodules.c: Pass G_MODULE_BIND_LAZY to g_module_open. (Pointed by John Rice) --- ChangeLog | 5 +++++ pango/modules.c | 2 +- pango/querymodules.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 71fa3dde..afc296fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-14 Behdad Esfahbod + + * pango/modules.c (pango_module_load), pango/querymodules.c: Pass + G_MODULE_BIND_LAZY to g_module_open. (Pointed by John Rice) + 2005-10-03 Owen Taylor * === Released 1.10.1 === diff --git a/pango/modules.c b/pango/modules.c index 719ec66e..d0ede877 100644 --- a/pango/modules.c +++ b/pango/modules.c @@ -169,7 +169,7 @@ pango_module_load (GTypeModule *module) if (pango_module->path) { - pango_module->library = g_module_open (pango_module->path, 0); + pango_module->library = g_module_open (pango_module->path, G_MODULE_BIND_LAZY); if (!pango_module->library) { g_warning (g_module_error()); diff --git a/pango/querymodules.c b/pango/querymodules.c index 557ae7ac..8c5553d1 100644 --- a/pango/querymodules.c +++ b/pango/querymodules.c @@ -136,7 +136,7 @@ query_module (const char *dir, const char *name) else path = g_build_filename (dir, name, NULL); - module = g_module_open (path, 0); + module = g_module_open (path, G_MODULE_BIND_LAZY); if (!module) g_printerr ("Cannot load module %s: %s\n", path, g_module_error ()); -- cgit v1.2.1