summaryrefslogtreecommitdiff
path: root/gtk/gtkmodules.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-12-16 19:06:09 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-12-16 19:06:09 +0000
commit0a876523eba87e4ade1e18437b9cf47c3d54dfde (patch)
treea881bc4b6d800647cec7d1a96e0a35d64f2d253c /gtk/gtkmodules.c
parentbc190f2a7014aa862f9960178f444ef0a1bf3c0f (diff)
downloadgtk+-0a876523eba87e4ade1e18437b9cf47c3d54dfde.tar.gz
Use G_MODULE_BIND_LAZY when opening modules.
2005-12-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesystem.c (gtk_file_system_module_load): * gtk/gtkimmodule.c (gtk_im_module_load): * gtk/gtkthemes.c (gtk_theme_engine_load): * gtk/gtkmodules.c (find_module): Use G_MODULE_BIND_LAZY when opening modules.
Diffstat (limited to 'gtk/gtkmodules.c')
-rw-r--r--gtk/gtkmodules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c
index 33020f72fb..359cd8b678 100644
--- a/gtk/gtkmodules.c
+++ b/gtk/gtkmodules.c
@@ -236,7 +236,7 @@ find_module (const gchar *name)
module_name = g_module_build_path (NULL, name);
}
- module = g_module_open (module_name, G_MODULE_BIND_LAZY);
+ module = g_module_open (module_name, G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
g_free(module_name);
return module;