summaryrefslogtreecommitdiff
path: root/pango/querymodules.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2005-11-04 20:53:03 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2005-11-04 20:53:03 +0000
commit69bbb89d5436cae4602579f952d68e84efe9ec24 (patch)
treecafa20b6afa089fb6b8f834fbdccfdac30371cb4 /pango/querymodules.c
parentf3d4ab2fecbc21745436e54b81729a330a915648 (diff)
downloadpango-69bbb89d5436cae4602579f952d68e84efe9ec24.tar.gz
Use quarks for GObject data to improve performance. (Patch from Federico
2005-11-04 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-fontmap.c: Use quarks for GObject data to improve performance. (Patch from Federico Mena Quintero) * pango/modules.c (pango_module_load), pango/querymodules.c: Pass G_MODULE_BIND_LAZY to g_module_open. (Pointed by John Rice)
Diffstat (limited to 'pango/querymodules.c')
-rw-r--r--pango/querymodules.c2
1 files changed, 1 insertions, 1 deletions
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 ());