diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2005-11-14 23:13:06 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2005-11-14 23:13:06 +0000 |
commit | 32624a5c3497828834c2c299fe5c7142979bdfbb (patch) | |
tree | a49671398a320317951d6ba28bd5dad248b53aab | |
parent | a6ec71729bfab9af4b7ff742c594d298f2219686 (diff) | |
download | pango-32624a5c3497828834c2c299fe5c7142979bdfbb.tar.gz |
Pass G_MODULE_BIND_LAZY to g_module_open. (Pointed by John Rice)
2005-11-14 Behdad Esfahbod <behdad@gnome.org>
* pango/modules.c (pango_module_load), pango/querymodules.c: Pass
G_MODULE_BIND_LAZY to g_module_open. (Pointed by John Rice)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pango/modules.c | 2 | ||||
-rw-r--r-- | pango/querymodules.c | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2005-11-14 Behdad Esfahbod <behdad@gnome.org> + + * 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 <otaylor@redhat.com> * === 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 ()); |