diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2005-11-04 20:53:03 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2005-11-04 20:53:03 +0000 |
commit | 69bbb89d5436cae4602579f952d68e84efe9ec24 (patch) | |
tree | cafa20b6afa089fb6b8f834fbdccfdac30371cb4 /pango/modules.c | |
parent | f3d4ab2fecbc21745436e54b81729a330a915648 (diff) | |
download | pango-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/modules.c')
-rw-r--r-- | pango/modules.c | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |