Use local binding when loading modules. (#351868)

2006-08-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmodules.c (find_module): Use local binding when
	loading modules.  (#351868)
This commit is contained in:
Matthias Clasen
2006-08-26 00:27:11 +00:00
committed by Matthias Clasen
parent 344e15b79f
commit 4ab827e20a
2 changed files with 6 additions and 1 deletions

View File

@ -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_LOCAL | G_MODULE_BIND_LAZY);
g_free(module_name);
return module;