summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2005-11-14 23:13:06 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2005-11-14 23:13:06 +0000
commit32624a5c3497828834c2c299fe5c7142979bdfbb (patch)
treea49671398a320317951d6ba28bd5dad248b53aab
parenta6ec71729bfab9af4b7ff742c594d298f2219686 (diff)
downloadpango-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--ChangeLog5
-rw-r--r--pango/modules.c2
-rw-r--r--pango/querymodules.c2
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 <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 ());